Commit Graph

41281 Commits

Author SHA1 Message Date
Vadim Zeitlin
131b1fba9d fix access to client data of wxComboBox in wxUniv by virtualizing access to wxControlWithItems::m_clientDataItemsType
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 23:12:27 +00:00
Vadim Zeitlin
c4fd5ede54 include wx/beforestd.h before iostream headers to avoid problems with visibility in Unix build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 18:53:37 +00:00
Chris Elliott
1cffe60012 fix for VC6 sorry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 17:51:52 +00:00
Chris Elliott
9c9b12747f fix for VC6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 17:47:03 +00:00
Chris Elliott
8d5aff92f4 remove refernce to removed samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 17:29:30 +00:00
Vadim Zeitlin
22b6de6a70 more fixes for using wxSocket in console applications (patch 1756260)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 14:29:42 +00:00
Vadim Zeitlin
7ed0328efd expand the table cells to fill the entire table width (patch 1722794)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 11:19:46 +00:00
Vadim Zeitlin
dbfa728a07 fix divide by 0 bug in UpdateScrollbars() (part of patch 1716763)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 11:04:26 +00:00
Vadim Zeitlin
1fc5dc69fd destroy the old clipping region before setting the new one (part of patch 1716763)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 10:57:01 +00:00
Vadim Zeitlin
99b4164c2c removed apparent off by 1 bug in the end line calculation in ShowPosition() (part of patch 1716763)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 10:55:35 +00:00
Vadim Zeitlin
86909f4c89 added XRCSIZERITEM() allowing to directly retrieve the sizer from XRC by name (patch 1782080)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 10:50:01 +00:00
Vadim Zeitlin
ebc9b89d52 use ListView_RedrawItems() to implement wxListCtrl::RefreshItems(); added tests for it to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 10:24:45 +00:00
Vadim Zeitlin
6dd25d20be check whether clipping region is empty, not whether it's null; disable USE_PAINT_REGION which seems to be more harmful than useful (part of patch 1716763)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 23:52:02 +00:00
Vadim Zeitlin
ca86035f16 fix off by one (or rather "off by border width") bug in ScrollWindow() (part of patch 1716763)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 23:43:03 +00:00
Vadim Zeitlin
86a41088fd fix the bug with not showing all the text in the text control even if there is enough space (replaces patch 1716758)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 23:35:18 +00:00
Vadim Zeitlin
f527e69e7c corrected m_strings array creation broken by last changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 22:30:00 +00:00
Robert Roebling
7cec1c9e15 Implement wxWindow::SetFocusIgnoringChildren for GTK+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 22:06:22 +00:00
Vadim Zeitlin
c2e4537233 wxX11 compilation fixes after wxTRANSLATE/wxCmdLineEntryDesc Unicode changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 21:23:19 +00:00
Robert Roebling
edddffb58b Correct GetLabelItemRect to not include image (as per 2.8 branch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 11:05:38 +00:00
Robert Roebling
9e86e5ca64 Remove redundant test later in keypress handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 10:31:38 +00:00
Robert Roebling
03a126c68c Only send keypress events to focus widget, not its parents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 10:29:26 +00:00
Paul Cornett
63c95f2734 let GtkRange clamp scroll position
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 02:58:14 +00:00
Vadim Zeitlin
20a0e99964 get rid of the built-in drop target in rich text controls before setting the user-defined one as otherwise it fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 01:09:01 +00:00
Vadim Zeitlin
0dd13d21cd always NUL-terminate the buffers returned by cWC2MB/cMB2WC() overloads taking input length, even if the input is not NUL-terminated (part of patch 1795174)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 00:36:16 +00:00
Vadim Zeitlin
a7b9ab6200 fix wxStringOutputStream to deal with NUL bytes correctly (incidentally fixes bug 1792727, part of patch 1795174)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 00:32:54 +00:00
Vadim Zeitlin
49297c840b use wxSafeConvertWX2MB() instead of mb_str() in operator<<(wxString)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 00:18:56 +00:00
Vadim Zeitlin
cde9695427 always return positive pixel size, even for negative LOGFONT height values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 00:17:58 +00:00
Vadim Zeitlin
d16d0917e4 fix wxMBConvUTF8::cMB2WC/cWC2MB() broken by the introduction of wxMBConvStrictUTF8: as it overrides From/ToWChar(), wxMBConvUTF8 needs to do it (instead of deprecated MB2WC/WC2MB) as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 00:16:58 +00:00
Vadim Zeitlin
e20d1329b5 undo revision 48162 as it broke unit tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 00:03:47 +00:00
Vadim Zeitlin
2452025c59 fix a couple of harmless warnings in MSVC build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 23:33:46 +00:00
Vadim Zeitlin
aa3b041ed7 fix wxCmdLineEntryDesc compilation after latest changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 23:26:06 +00:00
Vadim Zeitlin
f3b84896e0 mention that support for reading alpha from TIFF images was added (rev 47204)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 23:22:07 +00:00
Vadim Zeitlin
0d5ab92f84 reverted the change of wxCmdLineEntryDesc fields to wxString as this doesn't compile with VC6; make them const char * instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 21:05:12 +00:00
Robert Roebling
d32332aaf6 Implement wxDataViewCtrl::GetSortingColumn() and related code for GTK+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 21:02:18 +00:00
Vadim Zeitlin
7c77f33480 added WXDLLIMPEXP_TEMPLATE_INSTANCE_BASE() macro and use it to work around VC6 warnings about non DLL-exported templates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 21:02:09 +00:00
Vadim Zeitlin
cb626df225 fix unused parameter warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 21:00:27 +00:00
Robert Roebling
dadc879e99 Implement and test _HEADER_RIGHT_CLICK event for GTK+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 20:36:19 +00:00
Robert Roebling
aed836f372 Implement and test wxDataViewCtrl::GetColumnPosition() for GTK+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 20:30:05 +00:00
Robert Roebling
8d92a3e988 Forgot this one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 19:51:42 +00:00
Robert Roebling
041a0e26bb Patch from Hartwig wrt SELECTION_CHANGE event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 19:50:35 +00:00
Vadim Zeitlin
e1079eda55 fix warning about not enough parameters for WX_DEFINE_GLOBAL_CONV2 with VC6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 18:54:24 +00:00
Paul Cornett
64b9776ca6 scrolling windows need wx[HV]SCROLL style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 17:23:43 +00:00
Vadim Zeitlin
4ec4d8610a added WXDLLIMPEXP_BASE for a couple of template classes having only inline functions as VC7 still needs them in DLL build if these classes are used as base classes or members of other DLL-exported classes (replaces first two parts of the patch 1779004)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 17:04:27 +00:00
Vadim Zeitlin
b7fe22610e fix some harmless warnings (last two parts of patch 1779004)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 17:00:45 +00:00
Chris Elliott
c07bf3a93f add missing sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 16:15:47 +00:00
Julian Smart
7e4fe193d1 Fixed caret sizing bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 12:18:50 +00:00
Robert Roebling
d86c187031 API change: a single SELECTION_CHANGED not lots of SELECT and UNSELECT events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 08:59:07 +00:00
Robert Roebling
ca06242be7 Fix ending label-editing bug when clicking elsewhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 07:58:06 +00:00
Paul Cornett
1d59165194 remove m_blockScrollEvent from wxWindowGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 04:26:33 +00:00
Paul Cornett
301f696372 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 04:22:04 +00:00