Commit Graph

397 Commits

Author SHA1 Message Date
Robin Dunn
e0dd12db99 Using a -1 (wxID_ANY) for menu or toolbar item IDs will now generate a
new ID for the item using wxNewId().  As a consequence of this, the
value of wxID_SEPARATOR was changed from -1 to -2 in order to not
clash.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-04 23:28:11 +00:00
Julian Smart
1d95f44a12 2.5.1, not 2.5.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-04 17:06:00 +00:00
Vadim Zeitlin
efe66bbc0e added wxTextCtrl::HitTest(); implemented it for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-04 14:56:14 +00:00
Vadim Zeitlin
789c5f4a8d look for Motif 2.1 headers before Motif 1.2 ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-04 10:21:58 +00:00
Václav Slavík
4a3990e259 wxWave->wxSound, Unix wxSound improvements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-02 14:13:24 +00:00
Mattia Barbon
584ad2a32f Added some missing STL-like wxArray/wxArrayString constructors.
Added helper class wxCArrayString, better replacement for
wxArrayString::GetStringArray.
  Added overloaded constructors and Create() methods taking
a wxArrayString for wxCheckListBox, wxChoice, wxComboBox,
wxListBox, wxRadioBox, wxSingleChoiceDialog, wxMultipleChoiceDialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 18:21:45 +00:00
Robin Dunn
9add93670b wxMenu::Append (and similar) now return a pointer to the wxMenuItem
that was added.  Checked on MSW, GTK, and Mac, other port authors
please double check changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 18:46:05 +00:00
Julian Smart
b0fb0f3c71 Applied patch [ 882493 ] Added XRC support for wxStatusBar
By Brian Ravnsgaard Riis


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 10:01:44 +00:00
Dimitri Schoolwerth
0ebb0e5c84 Fixed DDE memory leaks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 02:30:00 +00:00
Vadim Zeitlin
279b5e2ece implemented HitTest() (modified patch 875957)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 14:47:19 +00:00
Julian Smart
a9b293667e wxFileDialog now returns correct filter index for multiple-file
dialogs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-21 13:44:54 +00:00
Julian Smart
6463b9f539 Reverted patch [ 832096 ] Final separation for GUI and console for Open Watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 13:49:22 +00:00
Julian Smart
10021d29fa Recorded patch [ 837515 ] wxIPaddress + docs patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 15:52:13 +00:00
Julian Smart
c92ed9f7a7 Applied patch [ 863936 ] wxGrid scroll bars not drawn.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-08 15:43:29 +00:00
Julian Smart
d02bc4c8d4 Applied patch [ 871014 ] Adding size of control to its position
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-08 15:05:38 +00:00
Julian Smart
30ec5dbb49 Added change log for patch: wxGenericDirCtrl does not accept multiple wildcards
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-08 14:47:26 +00:00
Ryan Norton
dd12f8bbcf I should modify this more :)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-20 14:04:08 +00:00
Julian Smart
21f6094583 Added wxPATH_NORM_SHORTCUT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-20 13:59:13 +00:00
Gilles Depeyrot
102c07fe87 wxMac mouse wheel, long file names and unix sockets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-14 19:24:17 +00:00
Julian Smart
cd2a4e161d Applied patch [ 856318 ] A few Wine fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 11:06:56 +00:00
Julian Smart
aad6765cbd Applied patch [ 828303 ] Slight wxColour cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 10:10:40 +00:00
Julian Smart
ddc4f3b528 Applied patch [ 817317 ] fixes for errors and warnings reported by MinGW for utils
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 09:01:25 +00:00
Mattia Barbon
1a6d9c7680 New wxHashTable implementation when wxUSE_STL == 1. Replaces
the old implementation based upon wxHashMap. Removed support
for wxHashTable in wxHashMap.
  Rationale: using wxHashMap for wxHashTable implementation required
special support in wxHashMap. This precluded using STL-provided
hash_map to implement wxHashMap. This new implementation does not
use keyed wxList interface and should be almost totally compatible
with the old non-STL wxHashTable.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 08:12:34 +00:00
Mattia Barbon
d366db969f Updated changes.txt.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-02 15:36:13 +00:00
Václav Slavík
89d38f8c3a added resolution option to JPEG handler (patch #833234)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-31 15:58:58 +00:00
Vadim Zeitlin
dfcb9d7caf updated SendIdleEvent() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-31 14:27:56 +00:00
Vadim Zeitlin
bfdc04a9bb mention ShouldInheritColours() change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-22 08:27:57 +00:00
Vadim Zeitlin
5d398dbae0 documented wxColourDatabase::FindColour() change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-18 23:46:19 +00:00
Vadim Zeitlin
c50f92d08c fixed bug with wxcolourDatabase::FindColour(); added (and documented) new Find() and AddColour(const wxColour&) methods to avoid such problems in the future
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 17:42:31 +00:00
Vadim Zeitlin
c0db962623 made wxRTTI macros namespace-friendly (patch 799434)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 11:33:46 +00:00
Vadim Zeitlin
3cb9989457 added wxSYS_ICONTITLE_FONT (patch 816026)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 11:17:38 +00:00
Vadim Zeitlin
489bbac963 RemoveEventHandler() didn't reset all pointers correctly (patch 819545)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 10:31:19 +00:00
Vadim Zeitlin
cb820f8075 don't complain if file doesn't exist in DeleteFile(); do return false if it exists and we failed to delete it (patch 819530)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 09:19:21 +00:00
Vadim Zeitlin
6f63704ff4 wxMouseEvent::Moving() shouldn't return true when we're really dragging the mouse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 07:55:25 +00:00
Vadim Zeitlin
72957aa3ba fixed enumerating of entries/groups under '/' in wxRegConfig
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-08 23:36:11 +00:00
Vadim Zeitlin
05e1201cb5 wxFileName::Normalize(wxPATH_NORM_ENV_VARS) now works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-08 23:22:00 +00:00
Vadim Zeitlin
7b92350b2e restore status bar text after a menu has been shown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-07 23:04:44 +00:00
Václav Slavík
3527f29c87 added .chm support for Unix (Markus Sinner)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-07 20:15:27 +00:00
Vadim Zeitlin
d2ed74b912 send END_EDIT label if label editing is cancelled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-07 08:41:54 +00:00
Václav Slavík
849a28d0da added gettext plural forms support (patch #785660 with modifications)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-04 22:38:00 +00:00
Vadim Zeitlin
430d4341ff mention Spanish translations update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-01 20:48:44 +00:00
Vadim Zeitlin
bdb4888d5a added translation to Afrikaans (Petri Jooste)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-01 18:51:17 +00:00
Vadim Zeitlin
75a21d5e18 mention wxChoice::Delete() change in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-30 22:28:55 +00:00
Vadim Zeitlin
14f286429e mention wxListBook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-28 00:29:57 +00:00
Vadim Zeitlin
8941fa8806 added 3-state checkboxes (patch 813790)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-28 00:23:08 +00:00
Mattia Barbon
080a7b206c Updated changes.txt.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-27 13:33:45 +00:00
Vadim Zeitlin
9c0eae85b9 make it possible to give focus to the notebook itself (patch 811013)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-26 21:44:31 +00:00
Vadim Zeitlin
d7a7546b8e fixed code for swapping rect corners if out of order (bug 800180)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-26 20:50:27 +00:00
Vadim Zeitlin
bcda793a4e added wxTextInputStream::ReadChar() (part of patch 792932)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-26 20:15:38 +00:00
Vadim Zeitlin
0915d0b2e2 wxZlibStreams fixes; allow them to be used as deflate [de]compressor in gz/zip files (patch 792562)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-26 20:07:22 +00:00