Commit Graph

33935 Commits

Author SHA1 Message Date
Robin Dunn
68d76e7385 Add wx.TextAttr.Merge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 22:41:13 +00:00
Vadim Zeitlin
c9c537e6b0 better Wait/Delete() docs (patch 1434085)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 22:40:19 +00:00
Vadim Zeitlin
05ae668ce4 use SubclassWin() insteaf of just wxAssociateWinWithHandle() to make sure we generate wxWindowCreateEvents for MDI frames (see patch 1411774)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 22:35:55 +00:00
Vadim Zeitlin
e7c652bc7a send wxWindowCreateEvent from SubclassWin(), not WM_CREATE handler as we don't get WM_CREATEs for the windows of standard classes (last version of patch 1411774; closes bug 1349291)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 22:34:24 +00:00
Vadim Zeitlin
3f2174bb28 don't generate duplicate event for numpad keys with numlock on (patch 1448853)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 22:27:30 +00:00
Vadim Zeitlin
8361f92be8 use wxGtkString instead of manual g_free()s (also fixed free/g_free mismatch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 21:59:15 +00:00
Robin Dunn
7e25260c0d GetXRCID has a new parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 21:57:09 +00:00
Robin Dunn
0cfaa1dab1 Added wxDD_CHANGE_DIR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 21:56:15 +00:00
Robin Dunn
41d4305cd3 minor wx.DirDialog updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 21:55:27 +00:00
Włodzimierz Skiba
ed4b0fdca6 Include wx/dcclient.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 21:51:49 +00:00
Vadim Zeitlin
23f4f495a5 pango_font_description_get_family() can return NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 21:48:02 +00:00
Vadim Zeitlin
c23d400420 compilation fix for the last check in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 20:32:46 +00:00
Vadim Zeitlin
7c55c50ea9 clamp the point size of the font to a reaosnable range (second part of patch 1481722)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 20:23:36 +00:00
Vadim Zeitlin
f0545c140a docs for Get/SetNativeFontInfoUserDesc() (part of patch 1481722)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 20:15:06 +00:00
Vadim Zeitlin
b24069f2cc cache best size in DoGetBestSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 20:12:28 +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
4c15a37592 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@39077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 19:05:50 +00:00
Vadim Zeitlin
168a76fe3d corrected last change to cWC2MB() to also work for encoding with NUL length > 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 18:53:43 +00:00
Vadim Zeitlin
13d92ad62a don't allocate 0-sized buffer in cWC2MB() even if input size is 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 18:49:47 +00:00
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