Commit Graph

33915 Commits

Author SHA1 Message Date
Vadim Zeitlin
d68d85908b removed wxIsLoggingEnabled() as it could create the log target as an unwanted side effect and just use wxLog::IsEnabled() instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 18:48:48 +00:00
Vadim Zeitlin
41f44cca0a typo: PrintfInLogBug() was probably supposed to be called PrintfInLogBuf()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 18:45:13 +00:00
Vadim Zeitlin
5db920c9dd delete the old log target if one had been created somehow even before DoCommonPreInit() was called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 18:44:03 +00:00
Vadim Zeitlin
85d3e5a9ad added ConversionEmpty() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 17:47:35 +00:00
Vadim Zeitlin
ddca12cfd9 mention that Wait() relocks the mutex before returning (patch 1482390)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 17:29:16 +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
Paul Cornett
5625d0d4ca call static functions directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 16:57:00 +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
6e86472fa5 don't give an error when editing of the items label is cancelled (patch 1482176)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 16:07:29 +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
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