Commit Graph

613 Commits

Author SHA1 Message Date
Julian Smart
c82be69b51 Applied patch [ 1039456 ] [wxOS2]Popup menu problems
By Dave Parsons
Fixes problems including:

titles do not display,
title id is already allocated to the menu separator,
menus show in totally the wrong position,
possible to call DoPopupMenu with out of range parameters,
showing a menu enters an infinite loop with 100% cpu usage,
ProcessEvent is called destroying the return value from
HandleMouseEvent.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 18:35:50 +00:00
Robin Dunn
1d451c5bd1 wxSystemSettings::GetMetric returns -1 if the metric is not supported
by the port.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 21:56:22 +00:00
Václav Slavík
0fe0275981 changes to make wxWindow::FindFocus work as expected with composite controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 14:34:28 +00:00
Stefan Neis
80a07196b3 Re-simplified ScrollWindow routine.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 07:09:39 +00:00
Stefan Neis
5d826f601a Make scrolling work better (without constantly refreshing whole screen).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 17:39:21 +00:00
Stefan Neis
52df30cf2d Applied patch #1023777 (Notebook initialisation).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-19 12:03:52 +00:00
Włodzimierz Skiba
312ebad4cd some wxUSE_* macros not used consistently (patch #992456) with source cleaning (blind changes).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-31 13:59:07 +00:00
Václav Slavík
5f7bcb48fd new stock buttons API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-30 14:42:51 +00:00
Stefan Neis
621b457432 Fixed linkage errors (C linkage vs. C++ linkage) caused by switching gsocket
from C to C++ code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-08 20:44:14 +00:00
David Elliott
948c96efa1 Use bool instead of int. Replace TRUE/FALSE with true/false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-08 05:30:36 +00:00
David Elliott
3a9f2af7ff According to Stefan Neis this file isn't used by anything other than
the now defunct IBM Visual Age C++.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 19:37:46 +00:00
David Elliott
ac377c640b Removed unused file (replaced by src/os2/gsockpm.cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 19:34:00 +00:00
David Elliott
a1ad0f6be8 C->C++ conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 19:18:57 +00:00
Vadim Zeitlin
3754265e32 switched to wxEventLoopBase/wxEventLoop implementation (instead of m_impl based one) for wxMSW; minimal changes for the other ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 22:54:31 +00:00
David Elliott
05cbefbfab Removed unused event table entries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-29 13:52:24 +00:00
Stefan Neis
d3a919bdce Switched from wxUsleep to wxMilliSleep/wxMicroSleep.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-28 16:02:50 +00:00
Václav Slavík
2af18715e5 wxClipboard changes compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 08:54:35 +00:00
Stefan Neis
1d27f80249 Initialize m_PageSize.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-06 16:30:44 +00:00
Václav Slavík
971562cb51 use current mouse position as default position in wxWindow::PopupMenu (works better in wxGTK and is what you need in majority of cases)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 14:05:30 +00:00
Julian Smart
655719367a Use old licence name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e Name and version changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Stefan Neis
ed165c67aa Trying a workaround for bug in some of the unix-like shells available for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-21 15:53:48 +00:00
Stefan Neis
d804ec694d Applied patch #957479 (Combobox crashes receiving focus).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-21 09:35:18 +00:00
Włodzimierz Skiba
3660be5d50 Patch #953165, Bug #821657: wxHIDE_READONLY no more important. Blind change reported to Stefan Neis
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 13:12:36 +00:00
Stefan Neis
45c6f72480 Fixed Cut&Waste error.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 17:35:05 +00:00
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