Commit Graph

34455 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
9b7d3c0988 blank lines were ignored in multiline cell labels (replaces patch 1476165)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 15:33:23 +00:00
Vadim Zeitlin
4330c974ed code cleanup in DrawTextRectangle()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 15:28:27 +00:00
Vadim Zeitlin
5637e1311b signed/unsigned warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 15:26:41 +00:00
Vadim Zeitlin
97ca4fe477 re-reversed SB_TOP/BOTTOM undoing rev 1.21 change (still no idea why was it done)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 15:17:08 +00:00
Stefan Csomor
f028b0d919 must be AnyState , not NoState to get all elements (error in apple's doc, reported)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 04:34:45 +00:00
Paul Cornett
0f4f26bd65 don't include scrollbar area in client size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 04:33:43 +00:00
Vadim Zeitlin
38a5c64e29 removed TTN_NEEDTEXT handlers, we don't use tooltips on demand
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 00:04:26 +00:00
Vadim Zeitlin
caddf9b410 corrected wording of application shutdown logic description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 23:58:22 +00:00
Włodzimierz Skiba
da80ae712a Include wx/dc.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 22:58:39 +00:00
Vadim Zeitlin
6f7b61759e mention that timestamp is in ms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 19:37:41 +00:00
Robin Dunn
b14b1312ac fix a typo causing the wrong method to be called.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 19:09:04 +00:00
Włodzimierz Skiba
7270921da6 CSS colour compatibility after #1473731.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 17:38:58 +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
Włodzimierz Skiba
0c11387408 [ 1482626 ] Fix widgets sample build on unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 17:24:00 +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
Włodzimierz Skiba
7577ac4b5c !wxUSE_TOOLTIPS build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 09:42:21 +00:00
Włodzimierz Skiba
76b49cf49b Include wx/frame.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 08:10:55 +00:00
Włodzimierz Skiba
6337cacce9 Misplaced #ifdef ... #endif fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 07:10:24 +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
4dfda526ef mention that SetItemToolTip() is for wxMSW and wxGTK2 only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 23:31:47 +00:00
Vadim Zeitlin
6cae7af2f1 renamed ss_tooltips to gs_tooltips to follow the standard naming convention (and it could have been a typo in the first place)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 23:05:19 +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
07014b5a0a renamed local variable named m_radio as the m_ prefix was very confusing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 22:55:49 +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
Robin Dunn
ab0c98223a Added Get/SetItemToolTip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 19:42:17 +00:00
Włodzimierz Skiba
8e609c8259 Include wx/panel.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 18:10:27 +00:00
Vadim Zeitlin
4a851b11c2 made GetRowCount() return size_t to avoid signed/unsigned warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 16:19:31 +00:00
Vadim Zeitlin
d5e20cd8d4 added brief wxRadioBox description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 16:17:55 +00:00
Vadim Zeitlin
d3cd1c03a3 only take into account visible children in DoLayout()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 16:12:18 +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
Vadim Zeitlin
0c5405b727 added Remove(HWND); removed unused wParam parameter from SendTooltipMessage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 15:51:38 +00:00
Vadim Zeitlin
60c84f8501 allow entering multiline tooltips directly; allow removing tooltip by entering empty string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 15:50:09 +00:00
Vadim Zeitlin
bf00495160 implemented declared but never defined resize() method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 15:01:37 +00:00
Vadim Zeitlin
9372855d19 fixed python-related files names after they had been apparently renamed in the cvs 4 months ago; fixed broken sed command syntax
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 12:12:01 +00:00
Jouk Jansen
d7313bdcee Committing in .
improvement of the previous commit
 fixes OpenVMS support for wxGTK1

 Modified Files:
 	wxWidgets/include/wx/dirdlg.h wxWidgets/src/gtk1/descrip.mms
 Removed Files:
 	wxWidgets/src/gtk1/dirdlg.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 12:02:10 +00:00
Jouk Jansen
a40f0c2334 Committing in .
Update of OpenVMS compile support.
  -I had to add dirdlg.cpp to src/gtk1 to get the dialog sample linking
   Note that it is just a copy of the verion in the src/gtk directory.


 Modified Files:
 	wxWidgets/src/common/descrip.mms
 	wxWidgets/src/gtk1/descrip.mms
 Added Files:
 	wxWidgets/src/gtk1/dirdlg.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 09:20:13 +00:00
Włodzimierz Skiba
cdccdfabb2 Include wx/window.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 07:57:04 +00:00
Kevin Ollivier
9c8cfcb9c5 docopydocs is not needed for this script.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 04:47:50 +00:00
Robin Dunn
4e20fcc551 Ensure the button still exists after the Notify before doing anything
with it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:18:25 +00:00
Robin Dunn
7f80dd64ec Handle object ownership of wxTreeListColumnInfo and wxPyTreeItemData properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:16:52 +00:00
Robin Dunn
8ec09aacc6 wx.ProgressDialog.Update now returns two values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:15:48 +00:00
Robin Dunn
27eac64cf9 Font size adjustment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:09:24 +00:00
Robin Dunn
1e19282e10 Use SetBackgroundStyle for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:08:47 +00:00
Robin Dunn
4b13569ffb Add test for a stock button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:08:09 +00:00
Robin Dunn
1d14e1836a Add GetAsString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:07:41 +00:00