Vadim Zeitlin
a8ff046ba9
fixes for building wxMSW with --disbale-all-features
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 02:05:03 +00:00
Vadim Zeitlin
cb3c7fdda6
fix unused parameter warning in OnIdle()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 22:04:59 +00:00
Paul Cornett
0728199b91
process pending wx events before sending idle events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 05:31:32 +00:00
Václav Slavík
3a3dde0d44
use wx/crt.h as the 'official' header for wxCRT wrappers instead of wxchar.h; add comments explaining that users should include wx/crt.h to implementation headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 06:08:13 +00:00
Vadim Zeitlin
2ddff00c92
don't define wxEventLoop class differently in GUI and base, this breaks the
...
ODR and hence results in many problems in practice; instead use wxEventLoopBase
whenever possible and #define wxEventLoop differently in console applications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 02:30:01 +00:00
Vadim Zeitlin
b46b1d59d6
implement event loop for console applications (heavily modified patch 1715735)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 23:43:39 +00:00
Vadim Zeitlin
5d262fdda8
removed extraneous semicolons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 10:52:48 +00:00
Vadim Zeitlin
c2ca375c56
preparation for allowing to use wxTimer in wxBase (heavily modified patch 1113088):
...
1. Changed wxTimer to use wxTimerImpl
2. Added Unix-specific generic timer implementation
3. Added wxAppTraits::CreateTimerImpl()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 01:29:16 +00:00
Vadim Zeitlin
c1dc9f8394
removed WXWIN_COMPATIBILITY_2_4 from common and wxMSW files (patch 1675546)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 11:35:04 +00:00
Włodzimierz Skiba
261fb04124
Make QS_ALLPOSTMESSAGE available everywhere regardless SDK limitations.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-13 16:30:53 +00:00
Włodzimierz Skiba
b70362998b
WinCE build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-13 15:52:15 +00:00
Vadim Zeitlin
535920ff93
don't wait for Windows messages in WaitForThread() if we don't dispatch events (should fix the bugs 1523302 and 1650795)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-02 23:12:34 +00:00
Vadim Zeitlin
e570a44b37
don't wake up on Windows messages when waiting for thread termination in a console application as this results in an infinite loop because we never process them and thus they remain in the queue for always (modified patch 1615875; closes bugs 877128)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-02 22:46:48 +00:00
Włodzimierz Skiba
57bd4c6031
Include wx/msw/wrap*.h according to pch support (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 19:01:45 +00:00
Włodzimierz Skiba
02761f6cd4
Include wx/module.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 19:31:43 +00:00
Vadim Zeitlin
8bb6b2c057
wxPlatformInfo (patch 1532064)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 21:00:32 +00:00
Paul Cornett
e7445ff8ee
move some data definitions to more appropriate places
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 16:12:31 +00:00
Włodzimierz Skiba
923d28da0e
Include wx/icon.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-21 21:45:44 +00:00
Włodzimierz Skiba
ad9835c97c
Include wx/dynarray.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 14:18:39 +00:00
Vadim Zeitlin
031943ac4c
changed DoMessageFromThreadWait() to not block if there are no messages, this avoids the need for sending a dummy WM_NULL from the thread wait loop (replaces patch 1459812)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 22:51:42 +00:00
Vadim Zeitlin
48733d4741
move the code freeing temporary argv array to wxEntry(HINSTANCE) overload to avoid doing it twice in some cases
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-03 23:06:54 +00:00
Julian Smart
d5ea3919a3
Applied patch [ 1417709 ] wxFSVolume produces error messagebox
...
(following Vadim's suggestion to do this globally)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 14:57:25 +00:00
Julian Smart
64c288fa47
Compile with wxUSE_DYNLIB_CLASS and wxUSE_WXDIB set to 0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-21 16:47:30 +00:00
Włodzimierz Skiba
a71d815bbe
__WIN95__ removed (used to differ win3.1 vs. 'modern' 95 look, nowadays always defined for WXMSW so useless). Minor cleanings and corrections for correct #includes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 10:47:44 +00:00
Mart Raudsepp
8907154c1a
Nuke #pragma implementation/interface's
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Vadim Zeitlin
33349a2073
removed more remains of wxUSE_PENWINDOWS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 21:01:29 +00:00
Vadim Zeitlin
91ebae296d
removed wxUSE_PENWINDOWS (and its misspellings), it didn't work and wasn't used/defined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 20:28:00 +00:00
Vadim Zeitlin
25a116143a
don't include shlwapi.h as it might be not available (modified patch 1228033)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-28 22:27:43 +00:00
Vadim Zeitlin
9c43d88f6d
corrected misleading comment about DllGetVersion()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-24 18:23:32 +00:00
Vadim Zeitlin
58b76be1c2
compilation fix for wxUSE_OLE==0 for WinCE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-20 00:23:44 +00:00
Vadim Zeitlin
bd86627171
check for Unicode being used under Win9x much earlier on startup as otherwise the app crashes before getting to this check
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-06 00:03:00 +00:00
Julian Smart
012ce47389
Forgot to remove #endif
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-14 16:04:47 +00:00
Julian Smart
f118960423
Try to find comctl32.dll version even if we don't have shlwapi.h available,
...
otherwise the version is wrongly guessed and we can end up with bad
toolbar backgrounds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-14 15:12:16 +00:00
Julian Smart
238a604422
Added back shlwapi.h inclusion with comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-14 06:48:58 +00:00
Julian Smart
3e3d05fc86
Unnecessary shwlapi.h inclusion removed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 13:20:10 +00:00
Julian Smart
afafd942a1
Added WXK_SPECIAL... keycodes for special hardware buttons
...
Made (Un)RegisterHotKey WinCE-aware.
Added wxEVT_HIBERNATE event.
Now fakes wxEVT_ACTIVATE_APP to be symmetrical with wxEVT_HIBERNATE.
Added wxTE_CAPITALIZE for CAPEDIT controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 14:26:57 +00:00
Julian Smart
c75d190a0a
Added wxWINDOWS_POCKETPC, wxWINDOWS_SMARTPHONE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-16 10:18:13 +00:00
Vadim Zeitlin
360ae33f43
extracted code calling {Ole|Co}[Un]Initialize() to wxOle[Un]Initialize() functions in oleutils.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 11:47:13 +00:00
Vadim Zeitlin
06d1d10faf
remove obsolete wxUSE_CTL3D code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 00:37:11 +00:00
Ryan Norton
7a4d2469f9
fix shared msw builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-02 23:17:51 +00:00
Vadim Zeitlin
b9691677a0
made default background colour BTNFACE (so that panels don't have to erase their background explicitly); removed now unneeded SetBackgroundColour() in wxDialog which now has default bg colour and restored one in wxFrame which now has a non default one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 12:00:51 +00:00
Vadim Zeitlin
d50dbf7c6a
construct brush used for painting disabled bitmap buttons dynamically (heavily modified patch 1027243)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 12:34:45 +00:00
Vadim Zeitlin
0588f8d703
fixed VC6 compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-12 11:52:38 +00:00
Vadim Zeitlin
51036b441d
added a missing delete which resulted in a small memory leak on each wxExecute() (fixes 926802)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-11 19:10:42 +00:00
Włodzimierz Skiba
fd7b70bd79
wxApp::GetComCtl32Version seems possible and works now with DMC.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-18 11:34:38 +00:00
Włodzimierz Skiba
77c46f00b5
Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-18 09:22:14 +00:00
Vadim Zeitlin
ec91fc141f
create the disabled button brush if we're not using Microwin, not if we're using it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 12:23:54 +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
Robert Roebling
46fa338b6f
Code for single instance and bring-to-top under CE.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-19 21:47:12 +00:00