Commit Graph

16280 Commits

Author SHA1 Message Date
Stefan Csomor
7ed2b47bf5 moved fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-11 19:52:48 +00:00
Robin Dunn
8aa2cea1d0 The statusbar should start with one field, not zero
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-11 00:01:03 +00:00
Robin Dunn
271d1110ed more informative error messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 23:58:30 +00:00
Robin Dunn
d8c65cf488 If zero time is specified, don't try to sleep when using a timer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 23:38:17 +00:00
Robin Dunn
fb718549cd Don't clear the HWND until after the UnsubclassWin so the old WndProc
will be restored.  Otherwise we get messages after the wxTextCtrl has
been destroyed.  (Forgot a few last time)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 23:32:18 +00:00
Robin Dunn
f3076f9fae Don't clear the HWND until after the UnsubclassWin so the old WndProc
will be restored.  Otherwise we get messages after the wxTextCtrl has
been destroyed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 23:28:40 +00:00
Vadim Zeitlin
39d6715fdf backport ParseDate() fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 22:43:45 +00:00
Vadim Zeitlin
62ae2780a8 accept \r as a delimiter when parsing dates (bug 684617)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 22:14:40 +00:00
Mattia Barbon
3e2d47e1a9 Added helper functions for string -> XmString conversion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 21:40:53 +00:00
Mattia Barbon
a63b009834 Derive wxButton from wxButtonBase.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 21:39:01 +00:00
Mattia Barbon
521196a26a Added configure test for const_cast<>(), and enabled it
for MSVC 5 and 6, and MinGW; use const_cast<>() in
wxConstCast if it is available.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 21:37:28 +00:00
Vadim Zeitlin
79e929e79e fixed a serious bug in Shrink()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 18:11:15 +00:00
Vadim Zeitlin
28cafc44d2 backport a couple of memory leak fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 18:08:59 +00:00
Stefan Csomor
d46342af50 submenu preparation in two methods encapsulated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 15:50:28 +00:00
Stefan Csomor
578dc95029 submenu preparation in two methods encapsulated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 11:57:27 +00:00
Vadim Zeitlin
c9570d3076 added gtk/msgdlg.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-08 14:36:27 +00:00
Mattia Barbon
84fb430b97 Reverted changes to make buttons smaller in wxMotif because they uncover
a bug in wxGTK, and, more importantly, thay will break user code under
Motif which uses sizers and calls wxButton::SetDefault.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-08 13:47:53 +00:00
Mattia Barbon
0ddf7c0cad Modified vc.t according to last changes to makefile.vc, and regenerated
makefile.vc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-07 16:03:15 +00:00
Mattia Barbon
fb5230de74 Removed some superflous #defines already added by plaform.h, simplified a bit
the logic to construct directory and library names; now it should be possible
to build in Unicode mode without changing setup.h; fixed building wxBase with
makefiles.
  Added a new DEBUGINFO parameter. FINAL=hybrid DEBUGINFO=1 is like
FINAL=hybrid but with debug information.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-07 15:48:41 +00:00
Stefan Csomor
ab89a5b59b show and hide implementation added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-07 10:25:11 +00:00
Stefan Csomor
e9d804ebea depth for masks added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-07 10:21:16 +00:00
Stefan Csomor
637988a4f6 change to a tiny minimal value for DoGetBestSize in case of existing entries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 21:38:12 +00:00
Stefan Csomor
8dd336cba3 added alpha channel support for mask bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 21:20:19 +00:00
Mattia Barbon
3ca22d5e92 Fix release build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 21:07:50 +00:00
Mattia Barbon
10d1f4131d Work around wxNotebook or Motif or wxMotif bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 17:52:41 +00:00
Stefan Csomor
0c2d357716 context menu support for mac enabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 16:56:06 +00:00
Stefan Csomor
7e0e5fe1e4 value expansion to double
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 16:38:19 +00:00
Stefan Csomor
63d1f74fe9 we now must skip right click events in order to allow for context events to be generated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 16:35:10 +00:00
Stefan Csomor
c4a49e11f7 the msw implementation even shows an ok button if it is not specified, we do the same
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 16:32:14 +00:00
Stefan Csomor
8950f7cc7e added OnMouse which will trigger context menu events, added better DoMenuPopup implementation which also deals correctly with check items, submenus etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 16:30:26 +00:00
Stefan Csomor
853f8094df added OnMouse which will trigger context menu events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 16:26:37 +00:00
Mattia Barbon
a87758e451 Fix warning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 20:38:18 +00:00
Mattia Barbon
65ed018215 Document the new __WXMOTIF20__ preprocessor macro.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 20:36:48 +00:00
Mattia Barbon
b19a74b0bc Mentioned the need to set the WXDIR environment variable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 20:35:46 +00:00
Mattia Barbon
35af98e482 Applied patch [ 696990 ] fix makeg95.env so it can find version.mak
from Derry Bryson.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 20:21:32 +00:00
Mattia Barbon
da494b405d Added new __WXMOTIF20__ macro, which is true if the Motif version
is 2.0 or higher.
  Now Motif 2.0 or better (but not Lesstif) uses XmRenderTable instead
of the deprecated XmFontList. This allows underlined text in controls.
  Miscellaneous cleanup; used wxXmString in some more places.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 20:15:35 +00:00
Václav Slavík
bdb9ccbfd6 backport gtk2 mnemonics patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 18:10:06 +00:00
Václav Slavík
393cbb8ff7 fix compilation for GTK1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 15:58:10 +00:00
Václav Slavík
eaafd2f8b7 added support for GTK2 label mnemonics (patch #689573)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 23:34:52 +00:00
Vadim Zeitlin
53eff2a282 new wxDIB class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 02:15:29 +00:00
Vadim Zeitlin
336b8a4257 don't use GetSelectedInto() in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 02:14:13 +00:00
Vadim Zeitlin
acf8e3d29e start of alpha transparency support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 02:12:28 +00:00
Vadim Zeitlin
0c543b7a19 don't erase the background to see the transparent images better
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 02:10:27 +00:00
Vadim Zeitlin
9ae2ec95cf added wxDynamicLibrary::Detach()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 01:48:47 +00:00
Vadim Zeitlin
27bb2b7cea added support for reading alpha channel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-03 20:39:50 +00:00
Vadim Zeitlin
487659e0fa added alpha channel support to wxImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-03 20:33:40 +00:00
Vadim Zeitlin
c0589c62a6 added some macros to define version strings from version number (instead of having to manually update both)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-03 19:52:25 +00:00
Vadim Zeitlin
5169844ada added math.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-03 19:50:21 +00:00
Vadim Zeitlin
ddb4769e7c added wxUSE_DISPLAY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-03 19:49:37 +00:00
Stefan Csomor
c8ce283736 sorry previous commit message was wrong, should read
added shrink procedure with proper color averaging, it is triggered from scale in case the old with/height are multiples of the new width/height


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-03 15:35:52 +00:00