Commit Graph

8779 Commits

Author SHA1 Message Date
Paul Cornett
a01ed326cc spinbutton code simplification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 03:08:25 +00:00
Robin Dunn
f460c29d59 Use correct DLL import/export specifier for multi-lib builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 01:22:06 +00:00
Vadim Zeitlin
6ab4491a6d added virtual dtor to wxMacListControl to silence gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 00:52:48 +00:00
Vadim Zeitlin
7c2b7791e5 fixed typo in last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 00:51:25 +00:00
Vadim Zeitlin
725566cab4 suppress gcc printf format warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 00:42:17 +00:00
Vadim Zeitlin
54933611e8 added virtual dtor to wxMacListControl to silence gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 00:40:16 +00:00
Julian Smart
83eabba429 Fixes for compile breakage with no PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 10:42:03 +00:00
Vadim Zeitlin
ca7aeeb7d2 reset fd after closing it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 09:13:10 +00:00
Włodzimierz Skiba
25a9f2912d Missing 'int' interface for wxPlatform.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 08:48:31 +00:00
Paul Cornett
add7cadd99 scrollbar handling simplification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 04:54:13 +00:00
Vadim Zeitlin
6964cbbac9 make sure that IsModified() returns false when it's called from EVT_TEXT handler invoked because of SetValue() call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 00:20:20 +00:00
Vadim Zeitlin
781acf8347 removed GTK-specific SetModified() as we already have a public MarkDirty() which does the same thing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 23:58:20 +00:00
Vadim Zeitlin
a57d600f1a renamed wxComboControl to wxComboCtrl and related wxUSE_XXX and configure switches for consistency with the other ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 22:57:40 +00:00
Mart Raudsepp
7e983dabef Fix compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-15 13:43:35 +00:00
Vadim Zeitlin
c0f482800a fix OpenWatcom warning (patch from Jaakko Salli)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-12 20:04:28 +00:00
Vadim Zeitlin
c98e80d98d correct dll declaration (the classes in the header are part of adv library, not core)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-12 19:31:50 +00:00
Vadim Zeitlin
78c9181500 added clipboard events (wxEVT_COMMAND_TEXT_COPY/CUT/PASTE) and implemented them for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-12 15:21:41 +00:00
Paul Cornett
dcc8cf5ae3 correct access for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-10 17:08:45 +00:00
Vadim Zeitlin
e16514bf08 test that wxUSE_DATAVIEWCTRL is defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-10 13:00:33 +00:00
Vadim Zeitlin
481e2766c2 test that wxUSE_OWNERDRAWNCOMBOBOX and wxUSE_COMBOCONTROL are defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-10 12:58:27 +00:00
Paul Cornett
8539643021 unused member variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 16:54:24 +00:00
Vadim Zeitlin
6d0ce565ff fixes and missing files from the first wxComboControl patch (update of patch 1479938)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 16:18:19 +00:00
Vadim Zeitlin
65b977e5b3 mbstate-t related fix for CW8.3 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 14:26:48 +00:00
Vadim Zeitlin
899eacc753 removed spurious trailing commas in enums
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 11:11:07 +00:00
Vadim Zeitlin
28cbbe69df added wxUSE_COMBOBCONTROL and wxUSE_OWNERDRAWNCOMBOBOX to wx/setup.h files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 00:04:35 +00:00
Vadim Zeitlin
21849f3a8e added wxUSE_COMBOBCONTROL and wxUSE_OWNERDRAWNCOMBOBOX to wx/setup.h files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 23:46:37 +00:00
Vadim Zeitlin
a340b80d8a wxComboControl and wxOwnerDrawnComboBox (patch 1479938)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 23:42:45 +00:00
Vadim Zeitlin
cd4e32afe7 added conversion ctor to create const_iterator from iterator, otherwise assigning the return value of begin() called on a non-const object to a const_iteator didn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 23:26:39 +00:00
Vadim Zeitlin
af867f957d fixed operator[] in wxUSE_STL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 21:25:00 +00:00
Włodzimierz Skiba
ed8219a5e0 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 11:31:03 +00:00
Włodzimierz Skiba
dd4e6da0e0 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 10:27:17 +00:00
Włodzimierz Skiba
0799bc868e Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 10:05:40 +00:00
Vadim Zeitlin
9ea1246ba6 added operator[] for STL builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 00:56:59 +00:00
Paul Cornett
b45c2fe579 correct access for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-07 01:14:50 +00:00
Vadim Zeitlin
141d782d56 misc fixes for wxDirDialog; new wxDD_CHANGE_DIR flag (patch 1478051)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 20:10:11 +00:00
Vadim Zeitlin
4523ebb3f1 simplify the client data/non standard images handling code by unconditionally using wxTreeItemParam struct instead of using indirect data only sometimes; also extend it to contain the id which allows to always sort the items correctly (closes bug 1447419) (patch 1449096 from Ryan)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 19:17:22 +00:00
Vadim Zeitlin
3affcd078b added wxString::EndsWith() (patch 1483049)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 17:27:52 +00:00
Vadim Zeitlin
9b2a74693e allow to specify the value for unknown ids in GetXRCID() (patch 1448981)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 16:59:59 +00:00
Vadim Zeitlin
53ee60908a added wxTextAttr::Merge (modified patch 1482719)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 16:16:25 +00:00
Vadim Zeitlin
593ac33e50 added InitCommandEventWithItems() and call it from wxChoice and wxComboBox code to ensure that per item client data is set correctly in the generated events (replaces patch 1476171; closes bug 1470505)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 15:48:27 +00:00
Włodzimierz Skiba
e8ee8f2716 Helper for clipping to range.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 17:28:33 +00:00
Paul Cornett
cb3db09022 correct access for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 17:04:48 +00:00
Włodzimierz Skiba
51f5e2822c Tinderbox build fix for wxUnivGTK build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 12:23:38 +00:00
Vadim Zeitlin
aa1e6de9b1 implemented SetItemToolTip()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 23:40:06 +00:00
Vadim Zeitlin
f7ce0e4a5f added static Apply(GtkWidget, tip) method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 23:34:10 +00:00
Vadim Zeitlin
d33704ddf2 renamed m_boxes to m_buttons because, well, it contains the radio buttons and not boxes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 23:00:34 +00:00
Vadim Zeitlin
d64ad2c7e1 added support for radiobox items tooltips in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 22:54:17 +00:00
Vadim Zeitlin
c670c85582 added Get/SetItemToolTip() (and implemented them for MSW) to allow setting tooltips for the individual radiobox items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 16:08:56 +00:00
Vadim Zeitlin
c009bf3e9f relay mouse move events to the tooltips even when the window itself doesn't have a tooltip -- but its subwindow does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 16:07:15 +00:00
Vadim Zeitlin
4453b38d02 made RelayEvent() static
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 15:58:29 +00:00