Commit Graph

588 Commits

Author SHA1 Message Date
Stefan Neis
a9c0e55977 Updated to intermediate version which should work with current bakefile status.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 10:34:49 +00:00
Robin Dunn
313feadc84 Add GetOwner accessor and fix wxRTTI inheritance for wxTimer. Set the
timer as the event object in wxTimerEvents.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-10 20:53:25 +00:00
Stefan Neis
76d81b4d11 Applied patch [ 929275 ] [wxOS2] Missing title bars.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-09 14:38:45 +00:00
Julian Smart
9da483994b Blind fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-09 12:45:50 +00:00
Vadim Zeitlin
d16b634fa3 use ResetClipping() instead of simply setting m_clipping to false; added call to it to wxDCBase::DestroyClippingRegion() so that some ports don't have to define their own version of it at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-05 22:43:57 +00:00
Stefan Neis
09990d5a4f Take the inverted coordinate system into account in wxFindMaxSize.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 17:12:25 +00:00
Stefan Neis
a00ffdf1c6 Don't choke on NULL pointer passed into wxSlider::GetSize.
Take the inverted coordinate system into account when computing size.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 17:05:55 +00:00
Stefan Neis
2da36bfe5a Don't choke on NULL pointer passed into wxSlider::GetSize.
Take the inverted coordinate system into account when computing size.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 16:48:22 +00:00
Stefan Neis
072ce45768 Workaround for compile problem in IconizeChildFrames.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 15:25:44 +00:00
Stefan Neis
7b048ef6b6 Added missing include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 15:24:27 +00:00
Stefan Neis
8787320bbd Commited slighly modified fix by David Parsons.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-03 17:43:43 +00:00
Stefan Neis
ab5ebf521f Avoid core dumps when SetImageList is used.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-03 16:09:05 +00:00
Vadim Zeitlin
31d7fc0f9c set SMALL_FONT for controls here because InheritAttributes() doesn't do it any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 23:47:44 +00:00
David Elliott
4224f05975 Instead of m_menuBar use GetMenuBar() which will be modified (with next patch)
to traverse up the menu hierarchy to return the menu bar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 00:43:16 +00:00
Stefan Neis
17b35e1d64 Untabified.
Quick hack to allow compilation, deleting threads is broken for now, though.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-18 10:54:24 +00:00
Stefan Neis
60848fcfef Fixed some problems in converting existing static libs into DLLs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-09 22:34:28 +00:00
Stefan Neis
c6e801d3e6 Link against import libraries of DLLs when building DLLs.
Enforce 8.3 names for wxWindows DLLs - make install is going to need fixing...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-09 21:53:07 +00:00
Stefan Neis
f3d8619423 main() is now always in the program.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-08 13:01:21 +00:00
Stefan Neis
bed67b7f86 Don't use global wxBuffer from code that gets compiled into the wx_base*.dll.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-08 11:29:15 +00:00
Stefan Neis
2d35020a8d Shell version of dllar, needed for building DLLs while generating
.def file on the fly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-08 09:50:27 +00:00
Stefan Neis
e7d70ef0e3 Fixed error in moving code from app.cpp in evtloop.cpp - caused accelerator
handling to be broken, now fixed again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-04 00:16:56 +00:00
David Webster
9923c37dcc Warning suppressions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-01 06:24:20 +00:00
Stefan Neis
90c86c0ca3 Compilation fix for Innotek gcc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-28 19:19:44 +00:00
David Webster
53ac3021de Bad update last night. Compiler error fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-26 14:57:18 +00:00
David Webster
eb65cb341b Updated depricated stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-25 23:25:04 +00:00
David Webster
258f5b3ec3 Updated depricated stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-25 23:03:46 +00:00
Stefan Neis
d37bb826ef Added accelerator handling for buttons and infrastructure to do the same for
other controls (patch 893580).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 18:00:27 +00:00
Stefan Neis
3a7c125370 Fixed separator handling for menus.
Extracted common code for handling translation of labels containing
        accelerators from wxWindows representation to native representation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 17:33:26 +00:00
Stefan Neis
5e01e9bde4 Handle separators in menus correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 17:04:28 +00:00
Václav Slavík
315ebf688c renamed wxWave to wxSound
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-02 13:42:04 +00:00
Stefan Neis
41c54face1 Fixed typo in MBN's extensions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-01 16:52:11 +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
Stefan Neis
55945915c9 Reordered includes to have OS2EMX_PLAIN_CHAR defined prior to including os2.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 17:47:53 +00:00
Stefan Neis
6d63b0946b Fixed variable name mismatch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 12:49:12 +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
David Elliott
05a019a2a8 Copied gsockpm.c revision 1.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-18 22:43:55 +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
1169a91932 Applied patch [ 832096 ] Final separation for GUI and console for Open Watcom
(Watcom compiler doesn't like ctor implementation in headers)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 15:33:01 +00:00
Stefan Neis
8d902dd64b Fixed mouse event generation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-14 17:32:45 +00:00
Stefan Neis
919312f767 Bugfix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-14 13:13:53 +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
Stefan Neis
b08c90ca63 Modified wxGetHomeDir to take environment variable HOME into account.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-16 22:20:41 +00:00
Stefan Neis
a85585d595 Fixed the code to actually work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-16 21:56:50 +00:00
Stefan Neis
737928c244 Avoid referencing WinInitialize/Finalize for non-PM builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-08 18:52:53 +00:00
Stefan Neis
53e8757b65 Added some bad hacks to make region processing work at least a bit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-03 01:20:15 +00:00
Vadim Zeitlin
727953356d removed calls to wxWindowBase::InitBase(), it is called from the ctor anyhow (and so was called twice)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-30 23:08:39 +00:00
Stefan Neis
0b483d6eef Initialize m_lNumRects to avoid core dumps if GpiQueryRegionRects fails.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-27 08:04:25 +00:00
Stefan Neis
72a0a2de1e Fixed update rectangle passed to WinInvalidateRect in wxWindowOS2::Refresh().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-26 16:11:20 +00:00
Stefan Neis
e4f1a68ad1 Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-05 12:36:59 +00:00
Stefan Neis
72bfca58d9 Fixed usage of uninitialized variable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-03 17:03:52 +00:00