- r65463: 2010-09-03 19:33:18 [VS] Václav Slavík
-
/src/generic/odcombo.cpp [diff, log, file]
Fix wxOwnerDrawnComboBox keyboard navigation with duplicate items.
If the combobox contained duplicate strings (i.e. multiple items with the
same string value, but differing indexes), then navigating to the second
and subsequent ones skipped to the first occurence instead. We need to
preserve the index.
- r65462: 2010-09-03 19:33:11 [VS] Václav Slavík
-
Click to show all 14 changes...
Fixed wxscintilla compilation for wxDFB.
- r65454: 2010-09-01 13:28:43 [VS] Václav Slavík
-
/src/msw/notebook.cpp [diff, log, file]
Reduce flicker when removing wxNotebook page.
wxMSW implementation hides all pages except the selected one. But when
removing selected page from the control, this invariant is temporarily
broken and this results in visible flicker. Hiding the page as soon as
it gets removed fixes it.
- r65435: 2010-08-28 17:05:02 [VS] Václav Slavík
-
/src/common/wincmn.cpp [diff, log, file]
Scale sizes more accurately in generic SetWindowVariant().
- r65406: 2010-08-25 15:02:30 [VS] Václav Slavík
-
/include/wx/listbox.h [diff, log, file]
/src/common/lboxcmn.cpp [diff, log, file]
Fix wxListBox selection handling broken by r64500.
r64500 introduced tracking of previous selection in wxMSW's wxListBox so
that an event isn't sent when the user clicks already selected item
again. Unfortunately, it forgot to account for programatic changes of
selection (e.g. when all items are removed, so is the selection) and
didn't update selection book-keeping information in that case. The
result was that the event wasn't sent when it should be in some cases.
Fixed by using UpdateOldSelections() even in single-selection case in
wxMSW.
- r65203: 2010-08-06 16:28:46 [VS] Václav Slavík
-
/src/generic/datavgen.cpp [diff, log, file]
Fix DnD in generic wxDataViewCtrl when scrolled.
wxDataViewMainWindow drag and drop code incorrectly used Y coordinate
where X axis should be used to check whether the mouse is inside columns
area. This manifested itself as refusing to accept drops once the
control was sufficiently scrolled down.
- r65192: 2010-08-04 14:57:30 [VS] Václav Slavík
-
/src/xml/xml.cpp [diff, log, file]
/tests/xml/xmltest.cpp [diff, log, file]
Fix attributes escaping when writing XML.
wxXmlDocument didn't correctly escape some characters that the spec says
must be escaped. Behaves correctly now.
Fixes #12275.
- r65167: 2010-08-03 12:59:30 [VS] Václav Slavík
-
/src/msw/window.cpp [diff, log, file]
Fix MSVC warning about int->bool conversion.
- r65154: 2010-08-01 10:11:53 [VS] Václav Slavík
-
/include/wx/msw/window.h [diff, log, file]
/src/msw/radiobox.cpp [diff, log, file]
/src/msw/spinctrl.cpp [diff, log, file]
/src/msw/window.cpp [diff, log, file]
Fix Tab navigation when focused control is disabled.
- r65140: 2010-07-29 20:54:00 [VS] Václav Slavík
-
/include/wx/dataview.h [diff, log, file]
/src/generic/datavgen.cpp [diff, log, file]
/src/gtk/dataview.cpp [diff, log, file]
Fix wxDataViewCtrl to omit expander space for all kinds of lists.
List-only models don't have expanders and so the control shouldn't
reserve any space for them; the notion of expander column doesn't make
sense here.
Previously, this was done correctly only for wxDataViewVirtualListModel;
"ordinary" list models, such as the one used by wxDataViewListCtrl, were
treated as generic tree models and 0th column had ugly empty space
reserved for (never used) expander.
This patch fixes it by adding IsListModel() helper function in
addition to existing IsVirtualListModel(). Some of the
IsVirtualListModel() tests were changed into IsListModel() checks as
appropriate.
- r65138: 2010-07-29 15:30:11 [VS] Václav Slavík
-
/include/wx/dataview.h [diff, log, file]
Fix gcc warning in wxDataViewListCtrl::ItemToRow().
- r65122: 2010-07-27 21:45:50 [VS] Václav Slavík
-
/include/wx/dataview.h [diff, log, file]
/interface/wx/dataview.h [diff, log, file]
Add index-based selection functions to wxDataViewListCtrl.
These are convenience functions for work working with indexes, for
consistency with other wxDataViewListCtrl methods.
- r65121: 2010-07-27 21:45:45 [VS] Václav Slavík
-
/include/wx/dataview.h [diff, log, file]
/interface/wx/dataview.h [diff, log, file]
Add item<->row mapping helpers to wxDataViewListCtrl.
These are commonly needed when using wxDataViewListCtrl, yet they were
only available in wxDataViewIndexListModel.
- r65120: 2010-07-27 21:45:37 [VS] Václav Slavík
-
/src/common/datavcmn.cpp [diff, log, file]
Created the model in wxDataViewListCtrl::Create().
It was totally unexpected that construction through the ctor behaved
differently from Create(). Also, the behavior now actually matches
documentation.
- r65119: 2010-07-27 21:45:29 [VS] Václav Slavík
-
/src/common/rearrangectrl.cpp [diff, log, file]
Allow empty message in wxRearrangeDialog.
If the message is empty, don't reserve space for it at the top; instead,
just make the dialog a bit smaller.
- r64821: 2010-07-05 14:23:21 [VS] Václav Slavík
-
/include/wx/variant.h [diff, log, file]
/src/common/variant.cpp [diff, log, file]
Add std::[w]string support to wxVariant.
- r64802: 2010-07-03 14:24:31 [VS] Václav Slavík
-
/src/xml/xml.cpp [diff, log, file]
Fixed XML parser error text formatting.
XML_GetCurrentLineNumber() returns int in some versions of Expat and
unsigned long (or even uint64_t) in other versions. Just cast the value
to int so that it works correctly with all versions.
Fixes #12196.
- r64801: 2010-07-03 14:24:27 [VS] Václav Slavík
-
/utils/wxrc/wxrc.cpp [diff, log, file]
Fix strings formatting in wxrc.
- r64800: 2010-07-03 14:24:23 [VS] Václav Slavík
-
/include/wx/private/wxprintf.h [diff, log, file]
/tests/strings/vararg.cpp [diff, log, file]
Fix format strings parsing to understand C99 %zu etc.
The parser used to understand only 'Z' specifier for size_t/ptrdiff_t,
which is non-standard libc5 extension. C99 defines 'z' for this purpose,
so use that. Compatibility with 'Z' is preserved.
Also support Visual C++'s non-standard 'I' modifier with the same
meaning.
Fixes #12192.
- r64799: 2010-07-03 14:24:17 [VS] Václav Slavík
-
/include/wx/filefn.h [diff, log, file]
wxFileOffsetFmtSpec isn't translatable.
- r64798: 2010-07-03 14:24:12 [VS] Václav Slavík
-
/include/wx/strvararg.h [diff, log, file]
/tests/strings/vararg.cpp [diff, log, file]
Fix vararg type checking to accept ints for %c.
It's perfectly legitimate to format int values as %c, so don't assert in
this case.
Fixes #12192.
- r64797: 2010-07-03 14:24:06 [VS] Václav Slavík
-
/include/wx/strvararg.h [diff, log, file]
Simply varargs type checking by adding subtypes to check mask.
Instead of always declaraing that a C++ type corresponds to either
Arg_String or Arg_Pointer, make Arg_String superset of Arg_Pointer.
- r64790: 2010-07-01 15:28:35 [VS] Václav Slavík
-
/include/wx/strvararg.h [diff, log, file]
Fix printf arguments validation code for ANSI build.
char arguments weren't recognized as allowed variadic types. Unlike in
Unicode build, where chars are treated specially, they are primitive
types in ANSI build.
- r64789: 2010-07-01 15:28:30 [VS] Václav Slavík
-
/include/wx/string.h [diff, log, file]
/interface/wx/string.h [diff, log, file]
Use wxScopedCharBuffer in To8BitData() in ANSI build too.
This allows one to write code compatible with both Unicode and ANSI
builds.
- r64788: 2010-07-01 14:30:29 [VS] Václav Slavík
-
/include/wx/defs.h [diff, log, file]
/include/wx/strvararg.h [diff, log, file]
Don't assume size_t is either int- or long-sized.
On 64bit Windows systems, sizeof(int)==sizeof(long)=4, but size_t is 8
bytes large.
Fixes #12179.