Commit Graph

15512 Commits

Author SHA1 Message Date
Ron Lee
292cc8c93e The menubar dynamic sizing patch broke any app which adds an empty
menubar and populates it later.  Since this is (or at least was)
a valid way to use wxMenuBar before that, we need to recalculate
the size whenever it might change.  (We probably need to do it
anyway for this to be completely useful).   This patch isn't the
cleanest or most efficient way to do that, but it's a minimal
change on a new feature that at least restores compatibility.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-01 15:13:44 +00:00
Robert Roebling
5aee9bc480 Put StringMatch() into #if win_comp_2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-01 10:30:22 +00:00
Robert Roebling
4ffb82ac32 No leading space in toolbars for GTK 2.0 since they
are drawn as lines.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-01 09:24:37 +00:00
Robert Roebling
58b5a13da5 Very incomplete Unicode support for wxTextStream.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 20:48:44 +00:00
Robert Roebling
b1b937339c GTK 2.0 is VERY picky about the realize/map/set_parent order.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 19:30:52 +00:00
Robin Dunn
0fcac944f3 Typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 17:37:23 +00:00
Robin Dunn
03cd51b0b6 wxFileTypeInfo interface changes and a missing method in wxDateTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 17:36:07 +00:00
Robin Dunn
63a8541c13 More wxTimeCtrl patches from Will Sadkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 17:33:15 +00:00
Robert Roebling
4a32c38f67 Enable wxMatchWild() for Unicode (under GTK) /
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 16:57:17 +00:00
Robert Roebling
5d0c8a9857 Use glib for wxMatchWild() under Unicode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 16:56:13 +00:00
Robert Roebling
9ca0f57c31 Updated PNG to latest releases. I don't really know
if this fixes the "incompatoble lib version" bug,
   and I actually didn't find any such comment.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 13:23:54 +00:00
Robert Roebling
7fc06f31e1 Removed hack from wxListCtrl that was required
as long as wxGTK sent an incorrect sequence
   of mouse events for dclicks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 13:20:25 +00:00
Robert Roebling
0edfce279c Determin menu bar height dynamically.
Minor sample changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 10:40:52 +00:00
Robert Roebling
5c3e4ed256 Filter out surplus mouse down event when
a double click event is in the queue.
   This is how MSW does it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 10:27:34 +00:00
Julian Smart
5ea82140ee Added some more accelerator possibilities, such as Ctrl+Enter, Ctrl+Home
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-28 20:06:45 +00:00
Ron Lee
4c77c8865a Disallow the possibility of a dangling 'else'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-28 07:01:33 +00:00
Stefan Neis
2a9e9415fa Reordered checks to avoid mis-detection of OS/2 v. 4.* as System V Unix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 22:34:45 +00:00
Stefan Neis
45dae01189 Added warnings about to apparently common traps in the build process.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 21:56:57 +00:00
Stefan Neis
f21f85abdb Fix for WXPM compilation using EMX/gcc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 21:40:37 +00:00
Stefan Neis
192bb0de73 Fixed includes for EMX/gcc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 20:59:10 +00:00
Stefan Neis
e8d2bf7311 All of miniframe class is in the header file on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 20:44:24 +00:00
Stefan Neis
ff9d0a5c41 Use generic MDI under OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 20:37:39 +00:00
Stefan Neis
5559999404 Use generic mdi on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 20:31:50 +00:00
Julian Smart
9e8c78dbf8 Put back OSTYPE, commented out. I don't really mind if
it's removed again, if people feel strongly that
it's confusing. But it might be helpful to someone.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 18:55:32 +00:00
Chris Elliott
ca93de9778 fix bug with #define FindText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 13:58:23 +00:00
Ron Lee
ebfa00d564 Don't mix up the contrib and main static libs now they all
have the same prefix.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 01:16:30 +00:00
Ron Lee
492b704acd fixed for new contrib files names, bumped the changelog hopeful to
tag and release 2.3.3.2-debs from this commit.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 00:56:19 +00:00
Václav Slavík
fc253b5bd3 fixes for DJGPP-based MSDOS port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-26 22:26:28 +00:00
Stefan Csomor
335f8251c4 dynamic allocation of file type arrays etc...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-26 08:53:28 +00:00
Stefan Csomor
52000d0bbb corrected checks for metrowerks to proper number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-26 08:52:09 +00:00
Václav Slavík
e9db9d29b8 fixed restoration of iconized wxHtmlHelpFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-25 19:40:43 +00:00
Julian Smart
fcbe4b8952 Avoid including reparent.h in Nano-X mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-25 19:28:28 +00:00
Mattia Barbon
56b8d9a67c Partially reverted previous change: it breaks building from DOS prompt.
cp still uses forward slashes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-25 19:09:42 +00:00
Vadim Zeitlin
66eb448aa2 really fixed handling 32 bit scrollbar positions while dragging the thumb (thanks to Jonathan Marsden)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-25 17:53:47 +00:00
Vadim Zeitlin
1f6b7faabc fixed a bug with Printf()ing a string into itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-25 17:03:26 +00:00
Julian Smart
10acf8094e G95 makefiles:
_Always_ use forward slashes when using copy.
Added OSTYPE to makef95.env to fool makefiles into
thinking that MSYS is being used, even when it is,
but only from DOS.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-25 11:20:21 +00:00
Václav Slavík
3d940df52b fixed memory leak in wxMimeTypesManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-25 11:12:06 +00:00
Václav Slavík
48acff7892 fixed memory leak in wxColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-25 11:10:51 +00:00
Václav Slavík
3ce501311b implemented subclass factories for XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-25 11:10:39 +00:00
Václav Slavík
5e3012152c fixed previewing in wxrcedit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-25 11:10:18 +00:00
Robin Dunn
7174c830f7 Tweaks to wxTimeCtrl for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-24 19:55:19 +00:00
Robin Dunn
74f4b82837 Update XRCed to 0.0.7-5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-24 18:34:21 +00:00
Robin Dunn
4b6cc55fd6 version number update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-24 18:15:16 +00:00
Robin Dunn
33ed3832af Some tweaks for wxTimeCtrl for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-24 18:09:21 +00:00
Robin Dunn
28825fa22a wxTimeCtrl updates from Will Sadkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-24 17:57:49 +00:00
Robin Dunn
b5177a3fe4 Removed duplicate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-24 14:48:55 +00:00
Julian Smart
6d49dd8f05 Made the version conflict error message a bit more helpful
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-24 13:40:18 +00:00
Julian Smart
938bafd72a Set integers to 0, not NULL to remove warning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-24 09:29:31 +00:00
Robin Dunn
d0c7b7d2b7 If being asked to Add or Insert zero items just do nothing and return
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-24 00:35:08 +00:00
Robin Dunn
d9a149b1cc Show some new grid features
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-23 21:54:10 +00:00