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
Stefan Neis
d00110f640
Fixed typo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-03 17:01:06 +00:00
Stefan Neis
8681f66ced
Only use unicode format when unicode support is enabled.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-03 16:56:58 +00:00
Stefan Neis
b93aba841c
Correctly bracketed initializers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-02 18:08:25 +00:00
Stefan Neis
2d28c41cbd
Insure that top level windows will be at least visible
...
when relying on default size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-01 21:50:56 +00:00
Stefan Neis
b21ec1a76c
Added MarkDirty implementation for MultiLine Edit controls.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-01 21:23:04 +00:00
Vadim Zeitlin
020172f684
compilation fix after last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-30 22:14:20 +00:00
Stefan Neis
3c623cf7d9
Correctly bracketed initializers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-30 20:22:16 +00:00
Stefan Neis
ee22d7f339
Modal dialogs now correctly use wxEventLoop.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-30 20:13:51 +00:00
Stefan Neis
bd76e17e0f
Fixed compilation problem.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-30 19:56:23 +00:00
Vadim Zeitlin
dd435a79ed
removed wxApp::Initialized() (replaced with a dummy version in wxApp itself); wxApp in wxGTK now uses wxEvtLoop too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-27 13:47:46 +00:00
Vadim Zeitlin
3bf5a59b5e
pointer returned by GetNativeFontInfo() is now const and must not be deleted (replaces patch 810192)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 01:23:37 +00:00
Vadim Zeitlin
e441e1f4e8
made wxNO_FULL_REPAINT_ON_RESIZE default, added wxFULL_REPAINT_ON_RESIZE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 00:26:40 +00:00
Vadim Zeitlin
3a9fa0d6b5
added wxTextCtrl::MarkDirty()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 00:09:18 +00:00
Stefan Neis
8329e6c730
Added AppTraits for starting/ending a thread.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 00:01:32 +00:00
Stefan Neis
598dc9b777
Switched over to using wxEventLoop.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-21 21:54:03 +00:00
Stefan Neis
bd6685b307
Added #include "wx/encinfo.h" as needed.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-21 18:34:43 +00:00
Vadim Zeitlin
5d6cbce26b
use wxEventLoop in wxApp under wxMSW; factored out common code from wxX11/wxMotif/wxMGL to wxAppBase; changed wxApp::Dispatch() return type
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 20:03:13 +00:00
Vadim Zeitlin
8e35ab96f6
call RemoveChild() in ~wxWindowBase instead of doing it in each ~wxWindow for each port
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 11:45:08 +00:00
Václav Slavík
69b5cec2b0
applied Otto Wyss' patch to extend wxHelpController::KeywordSearch with mode argument (modified to the point of reimplementation)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 17:29:11 +00:00
Stefan Neis
ad0500fb78
Initialize PM subsystem in every thread, to enable sending messages to the GUI.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-07 12:49:04 +00:00
Stefan Neis
2e896473d8
Unified with Unix version.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-06 22:25:16 +00:00
Stefan Neis
afbfef69a3
Use function table instead of direct references to GSocket functions.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-06 16:37:02 +00:00
Stefan Neis
3979bf6b1f
Updated API to current state of wxWindows (int -> size_t).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 21:37:00 +00:00
Stefan Neis
28410cdcee
Added missing include to resource file.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 20:55:56 +00:00
Stefan Neis
4fe9efc1b9
Added missing include.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 20:52:26 +00:00
Stefan Neis
0093fe11c5
Cleaned up remains of outdated 3D effect handling.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 20:08:49 +00:00
Stefan Neis
a04be86ee4
Fixed IMPLEMENT_DYNAMIC_CLASS usage.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 19:56:53 +00:00
Stefan Neis
50528a1dbe
Added missing include.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 19:54:41 +00:00
Stefan Neis
ceb8f94a96
Fixed includes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 19:01:12 +00:00
Stefan Neis
459073a907
Removed some code duplicating wxAppBase functions.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 18:51:04 +00:00
Stefan Neis
21323df7fe
Fixed return type of GetPageCount (int -> size_t).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 18:25:53 +00:00
Stefan Neis
621ccd8a82
Fixed AppTraits handling on OS/2.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 18:15:10 +00:00
Stefan Neis
f877815e1b
Fixed several bugs in threading code for OS/2. Thread sample now working.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 20:44:14 +00:00
Stefan Neis
a1541f5f05
Use wxIconLocation instead of wxIcon (as in the other ports).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 15:56:19 +00:00
Stefan Neis
8e5052faec
Try to get along without wxWakeUpMainThread (wxBase/GTK/Motif/X11 won't
...
compile with it).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 14:26:50 +00:00
Stefan Neis
bd3b171d3f
Split src/os2/utils.cpp in two to support non-monolithic builds.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 18:53:31 +00:00
Stefan Neis
283ed244ad
Compilation fixes for gcc-3.2.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 17:02:09 +00:00
Stefan Neis
d1bab56647
Completely reworked OS/2 thread implementation.
...
Moved wxConditionInternal from src/msw/thread.cpp to include/wx/thrimpl.cpp
to give OS/2 the possibility to reuse the code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 23:32:00 +00:00
Václav Slavík
a3bf7524f3
removed WXWIN_COMPATIBILITY and WXWIN_COMPATIBILITY_2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 12:50:53 +00:00
Vadim Zeitlin
5da0803c15
renamed wxWindow::Clear() to ClearBackground() (fixes bug 783576)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 14:09:45 +00:00
Stefan Neis
28a75c297c
Added forgotten(?) wxMutexGuiEnter.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 17:08:01 +00:00
Stefan Neis
68a2e005a5
Added implementations for two cases of wxSystemSettingsNative::GetMetric to
...
make wxTextEntryDialog work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-07 23:14:32 +00:00
Stefan Neis
5c9ee6dd49
wxUsleep is supposed to sleep _milli_seconds, not _micro_seconds.
...
Got sockets working.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-07 21:39:40 +00:00
Stefan Neis
f53a0d3287
wxUsleep is supposed to sleep _milli_seconds, not _micro_seconds.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-07 21:38:11 +00:00
Václav Slavík
38bb138f09
fixed wxBase and GUI separation for sockets code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-07 12:26:17 +00:00