Commit Graph

33854 Commits

Author SHA1 Message Date
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
Włodzimierz Skiba
6d50343d87 Include wx/dcprint.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 22:34:12 +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
Włodzimierz Skiba
f38924e863 Include wx/dcmemory.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 07:58:37 +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
Vadim Zeitlin
89780b6ee0 removed __throws_bad_alloc import, this apparently breaks CW8.3 compilation and is unused anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 00:51:31 +00:00
Stefan Neis
6ba87b0697 Need to do tests for compiler version (to determine C++ libs needed to
successfully link C++ core) in C mode on OS/2.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-07 14:43:41 +00:00
Paul Cornett
259a4264ac call static functions directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-07 01:26:34 +00:00
Paul Cornett
4fab51ddff unused variables/declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-07 01:17:16 +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
6121a198d3 use non numpad equivalents for the numpad keys in CHAR events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-07 00:39:52 +00:00
Vadim Zeitlin
b60978b228 removed more unneeded code in kbd handling logic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-07 00:34:47 +00:00
Vadim Zeitlin
7c722b22b3 removed code which had no effect in HandleChar()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-07 00:31:02 +00:00
Vadim Zeitlin
aac18ec71e generate ctors with optional parent parameters in C++ code (patch 1238355)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 22:53:06 +00:00
Vadim Zeitlin
c01d5de838 fix for popup menus (part of patch 1238355)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 22:48:15 +00:00
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