- r70465: 2012-01-25 15:10:09 [JS] Julian Smart
-
/include/wx/richtext/richtextbuffer.h [diff, log, file]
/include/wx/richtext/richtextctrl.h [diff, log, file]
/interface/wx/richtext/richtextbuffer.h [diff, log, file]
/interface/wx/richtext/richtextctrl.h [diff, log, file]
/samples/richtext/richtext.cpp [diff, log, file]
/src/richtext/richtextbuffer.cpp [diff, log, file]
/src/richtext/richtextctrl.cpp [diff, log, file]
Added further API for intercepting deletion and content insertion
Added simple implementation of locked objects to sample
- r70464: 2012-01-25 10:33:26 [SC] Stefan Csomor
-
/src/osx/cocoa/nonownedwnd.mm [diff, log, file]
structure code to Cocoa's possibilities, allows tool windows with just a caption and no buttons
- r70463: 2012-01-25 06:39:53 [BP] Bryan Petty
-
/docs/doxygen/wxwidgets.js [diff, log, file]
Added more conveniently placed 'List of All Members' link on all class doc pages in the header summary (using JS).
- r70462: 2012-01-25 00:10:44 [VZ] Vadim Zeitlin
-
/src/common/strconv.cpp [diff, log, file]
Fix return value of wxMBConvUTF8::FromWChar().
Apply the same fix as was done in r68694 for ToWChar() to FromWChar(): it also
returned an off by 1 value when not using MAP_INVALID_UTF8_NOT.
Closes #13400.
- r70461: 2012-01-25 00:05:15 [VZ] Vadim Zeitlin
-
/src/common/docview.cpp [diff, log, file]
Update wxCommandProcessor after saving wxDocument.
Surprisingly, wxCommandProcessor::MarkAsSaved() method was never called by
wxDocument so saving the document didn't update wxCommandProcessor dirty
status.
Do add a call to MarkAsSaved() now, this allows wxCommandProcessor to track
its status correctly (and actually more correctly than the dirty status of the
document which becomes "dirty" after doing and undoing an operation after
saving it, unlike wxCommandProcessor::IsDirty() which correctly returns false
in this case).
- r70460: 2012-01-25 00:05:12 [VZ] Vadim Zeitlin
-
/src/common/cmdproc.cpp [diff, log, file]
Fix wxCommandProcessor::IsDirty() result after undoing everything after save.
IsDirty() returned false when all commands were undone after saving even
though it clearly should have returned true in this case.
Fix this and add comments explaining what happens in this method.
Closes #2862.
- r70459: 2012-01-25 00:05:09 [VZ] Vadim Zeitlin
-
/include/wx/cmdproc.h [diff, log, file]
/src/common/cmdproc.cpp [diff, log, file]
Don't compare invalid iterators in wxCommandProcessor::IsDirty().
Check that m_lastSavedCommand is valid before comparing it with
m_currentCommand as comparing invalid iterators results in an assert in STL
build (and probably should also result in an assert in non-STL build too for
consistency).
Also move IsDirty() implementation out of line to make it easier to modify it
further in the future and because there is no real reason to keep it inline.
Closes #13465.
- r70458: 2012-01-25 00:05:06 [VZ] Vadim Zeitlin
-
/include/wx/gtk/private.h [diff, log, file]
Forward declare wxFont in wx/gtk/private.h.
This fixes compilation in STL build (for some strange reason it doesn't affect
the default build however).
- r70457: 2012-01-25 00:05:03 [VZ] Vadim Zeitlin
-
/src/gtk/dataview.cpp [diff, log, file]
Minor fixes to wxDataViewCtrl::HitTest() in wxGTK.
Initialize the return parameters with invalid values and use const_cast<>.
See #12582.
- r70456: 2012-01-25 00:04:59 [VZ] Vadim Zeitlin
-
/src/ribbon/panel.cpp [diff, log, file]
Set the initial size of the expanded ribbon panel correctly.
We need to set the client size of the frame showing the panel to the panel
size and not the full frame size.
Closes #13850.
- r70455: 2012-01-24 22:17:47 [VZ] Vadim Zeitlin
-
/docs/changes.txt [diff, log, file]
/include/wx/iconbndl.h [diff, log, file]
/interface/wx/iconbndl.h [diff, log, file]
/src/common/iconbndl.cpp [diff, log, file]
/src/msw/toplevel.cpp [diff, log, file]
Fix setting frame icon when using non-standard icon sizes in wxMSW.
Set the closest (and larger, if possible) icon if the icon of exactly the
system icon size is not available. This fixes setting the icons when using
custom DPI settings under MSW as the standard icon size may be different from
the standard 32*32 in this case.
This also improves wxIconBundle::GetIcon() to make its behaviour when the icon
with exactly the given size is not found more flexible as a side effect.
Closes #13891.
- r70454: 2012-01-24 21:50:34 [VZ] Vadim Zeitlin
-
/src/msw/choice.cpp [diff, log, file]
Append all items at once during wxChoice creation in wxMSW.
Appending all items at once is more efficient than doing it one by one in the
loop 9probably because of CB_INITSTORAGE that we send in this case).
Closes #13899.
- r70453: 2012-01-24 18:07:45 [PC] Paul Cornett
-
/src/generic/graphicc.cpp [diff, log, file]
add strike-through font support to wxGraphicsContext on GTK
- r70452: 2012-01-23 21:06:07 [SC] Stefan Csomor
-
/src/osx/carbon/font.cpp [diff, log, file]
adding missing stubs
- r70451: 2012-01-23 14:42:56 [VZ] Vadim Zeitlin
-
/tests/font/fonttest.cpp [diff, log, file]
Add unit test verifying compilation of various wxFont ctors.
Check that various invocations of wxFont ctor at least compile to avoid
problems like the ones fixed by r70450.
- r70450: 2012-01-23 14:42:53 [VZ] Vadim Zeitlin
-
/src/generic/buttonbar.cpp [diff, log, file]
Fix wxButtonToolBar compilation after adding new wxFont ctor overload.
The new wxFont ctor added in r70445 resulted in ambiguity when using
wxFont(int, wxFontFamily, wxFontStyle, int) ctor mixing the type-safe values
for the 2nd and 3rd arguments with "untyped" int for the 4th one. Fix this by
avoiding the use of this ctor as it seems impossible to do it in any other
way.
- r70449: 2012-01-23 13:59:52 [VZ] Vadim Zeitlin
-
/include/wx/propgrid/property.h [diff, log, file]
/interface/wx/propgrid/property.h [diff, log, file]
/src/propgrid/props.cpp [diff, log, file]
Add a property to configure file property dialog kind.
Add wxPG_FILE_DIALOG_STYLE allowing to pass wxFileDialog style that should be
used by the given wxFileProperty. This notably allows to have file properties
accepting not yet existing files, as is needed when using them for the file
names to be saved, not opened.
Closes #13894.
- r70448: 2012-01-23 12:33:03 [VZ] Vadim Zeitlin
-
/src/common/textcmn.cpp [diff, log, file]
Fix wxTextAttr::m_fontStrikethrough initialization.
The code added in r70447 didn't initialize m_fontStrikethrough correctly.
This fixes unit test failures for wxRichTextCtrl that appeared since this
change.
See #9907.
- r70447: 2012-01-23 11:28:32 [VZ] Vadim Zeitlin
-
/include/wx/private/markupparserattr.h [diff, log, file]
Implement support for stricken-through fonts in markup parser.
Now that we have strike-through support in wxFont, implement support for <s>
tag in the markup parser.
See #9907.
- r70446: 2012-01-23 11:28:28 [VZ] Vadim Zeitlin
-
Click to show all 18 changes...
Add support for stricken-through fonts.
Support stricken-through fonts in wxMSW and wxGTK (including special support
in wxStaticText and wxTextCtrl).
Closes #9907.
- r70445: 2012-01-23 11:28:21 [VZ] Vadim Zeitlin
-
Click to show all 14 changes...
Add wxFont ctor taking a single flags argument instead of style/weight/...
Currently this ctor just does the same thing as the existing ctors in a
different way but it will be extended to support wxFONTFLAG_STRIKETHROUGH in
the next commits.
See #9907.
- r70444: 2012-01-23 11:28:16 [VZ] Vadim Zeitlin
-
/src/common/affinematrix2d.cpp [diff, log, file]
/tests/graphics/affinematrix.cpp [diff, log, file]
Fix wxAffineMatrix2D::Translate() to multiply on the left.
The affine transform was previously multiplied by the translation matrix on
the right but this was incompatible with both the MSW version of the same
method and all the other methods of the generic version.
So multiply the transform by the translation on the left, as everywhere else.
Closes #13875.
- r70443: 2012-01-23 11:28:12 [VZ] Vadim Zeitlin
-
/src/generic/scrlwing.cpp [diff, log, file]
Fix incorrect scroll positions used in SetScrollbars().
SetScrollbars() passed its input positions expressed in scroll units to
CalcUnscrolledPosition() which takes positions in pixels. This was definitely
wrong so don't do this and perform the conversion from scroll units to pixels
in SetScrollbars() itself for clarity instead.
It's not clear what concrete bugs, if any, does this fix as the calculated
positions are almost never used anyhow but the old code was obviously
incorrect and the new version has a chance of not being wrong so it's already
an improvement.
Closes #9988.
- r70442: 2012-01-23 11:28:09 [VZ] Vadim Zeitlin
-
/include/wx/chkconf.h [diff, log, file]
Add check for wxFileCtrl dependency on wxDateTime to wx/chkconf.h.
Enable wxDateTime if it's disabled but wxFileCtrl is enabled as the latter
needs the former, at least in the generic version.
Closes #12821.
- r70441: 2012-01-23 11:28:05 [VZ] Vadim Zeitlin
-
/src/msw/menu.cpp [diff, log, file]
Fix incorrect cast resulting in a warning in wxMSW wxMenu code.
Menu id is a 32 bit UINT value, even in 64 bit builds, so don't cast it to
UINT_PTR.
Closes #13815.