Vadim Zeitlin
2dc62891c4
moved OnExceptionInMainLoop() from wxAppConsole to wxAppBase because
...
1. console apps have no main loop
2. in non-monolithic mingw32 build, rethrowing an exception thrown from the
GUI in the base DLL doesn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-09 00:12:49 +00:00
Mart Raudsepp
90e572f1e5
Spelling fixes from Andreas Mohr (patch #1360064 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-19 01:07:56 +00:00
Vadim Zeitlin
17a1ebd101
first round of Intel compiler warning fixes: down from a few thousands just to slightly more than 100
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 19:59:19 +00:00
Václav Slavík
96d38c7e0d
rolled back exceptions handling patch, it relied on incorrect assumption about vtables
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-21 09:56:18 +00:00
Václav Slavík
924b84ab94
changed exceptions handling to work under wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-20 08:20:50 +00:00
Julian Smart
3103e8a97e
Typo correction patch [ 1208110 ] Lots of typo corrections
...
Olly Betts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:20:43 +00:00
Włodzimierz Skiba
eecb33b018
Old API deprecated. Use new and remove old usage where necessary.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-10 17:21:16 +00:00
Włodzimierz Skiba
4055ed8281
Use __WXPALMOS__ for PalmOS port which fits __WX$(TOOLKIT)__ of bakefiles. Do not depend on MSW macros in PalmOS port. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-20 12:44:22 +00:00
Julian Smart
ffecfa5aeb
Committed William Osborne's wxPalmOS port
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 13:40:30 +00:00
Vadim Zeitlin
9b0db4529f
made IsMainLoopRunning() static and implemented it for wxAppConsole too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 20:21:44 +00:00
Vadim Zeitlin
5f4f5b58f6
added wxApp::IsMainLoopRunnning() (see bug 994293)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 10:51:11 +00:00
Włodzimierz Skiba
4629016dfb
Source cleaning: whitespaces, tabs, TRUE/true, FALSE/false.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-08 17:30:19 +00:00
Vadim Zeitlin
87b6002d7c
typo/spelling fixes (patch 983448)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-04 11:19:47 +00:00
Dimitri Schoolwerth
7738c2e59a
fixed unresolved symbol main (occurred with wxMac)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 14:49:42 +00:00
Vadim Zeitlin
956495caff
moved wxEntry(HINSTANCE, ...) declaration to wx/msw/app.h from wx/app.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 11:07:23 +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
Vadim Zeitlin
78361a0e98
moved OnExceptionInMainLoop() in .cpp from header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 11:16:32 +00:00
Chris Elliott
01bc475b91
SF patch #938489 (for VC5)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-20 14:33:33 +00:00
Chris Elliott
db60d56c59
SF patch #938489
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-20 13:34:49 +00:00
Vadim Zeitlin
7c8c7cc23e
WinMain() is Unicode under CE (how did this work before?)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 12:54:20 +00:00
Vadim Zeitlin
b76f0023ae
added and documented wxApp::OnExceptionInMainLoop()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 20:49:54 +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
fedec98126
merged wxDisplayModeInfo and wxVideoMode in a single class, extracted it in a separate wx/vidmode.h header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-27 12:55:46 +00:00
Vadim Zeitlin
883117d126
added HandleEvent() to allow handle exceptions in event handlers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 23:30:53 +00:00
Vadim Zeitlin
fb761cd53c
(blind) fix for wxMac compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-16 10:52:57 +00:00
Vadim Zeitlin
1bf77ee556
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@23609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 19:48:16 +00:00
Stefan Csomor
939fba6c17
removal of pc-mac charset conversion for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-14 18:40:43 +00:00
Robin Dunn
2dbc444a19
Move more stuff into base for wxMac so that two level namespace dylibs
...
can be used on OS X.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-13 00:03:18 +00:00
Václav Slavík
80b2db4ee6
added IMPLEMENT_APP_CONSOLE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 20:48:47 +00:00
Julian Smart
9ce43bfae9
Fixes for WinCE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 14:10:25 +00:00
Robin Dunn
8030d60631
Added #if wxUSE_CMDLINE_PARSER
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-23 02:38:34 +00:00
Václav Slavík
f75d778149
restored wxBuildOptions class, for backward compatibility with wx-2.4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 11:14:18 +00:00
Václav Slavík
ac9a3c615a
moved WinMain into the application even for static build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-16 15:30:25 +00:00
Mattia Barbon
82c75aeab8
Unicode compilation fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-05 17:41:14 +00:00
Václav Slavík
2a7c760593
reworked wxBuildOptions code to work even w/o function inlining
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-04 13:17:17 +00:00
Vadim Zeitlin
00466512a8
use wrapwin.h instead of windows.h + winundef.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 23:30:35 +00:00
Vadim Zeitlin
b913d3ed6e
moved wxUniv-specific GUI stuff from wxBase to wxCore; this fixes wxUniv DLL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 21:00:52 +00:00
Václav Slavík
a8eaaeb237
replaced wxAppTraits::GetOSVersion with GetToolkitInfo with richer information that is needed by wxDynamicLibrary
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 15:14:17 +00:00
Vadim Zeitlin
a80e5f9e5b
wxTheApp can't be assigned to, anyhow, so make ms_appInstance private and provide Get/SetInstance() methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-01 23:37:40 +00:00
Vadim Zeitlin
7cafd224fe
replaced the old wxApp with wxAppConsole::ms_appInstance of type wxAppConsole; wxTheApp is now a macro for backwards compatibility (this fixes problems with contradictorary wxTheApp definitions in separate build)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-01 23:00:16 +00:00
Václav Slavík
e8e1149bd7
make it possible to use wxConsoleApp in GUI build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-31 10:11:28 +00:00
Julian Smart
955a919785
Rationalised OnIdle
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 08:41:08 +00:00
Julian Smart
5109ae5d17
Improvements to OnIdle processing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 16:59:30 +00:00
Julian Smart
e39af974ef
- Moved wxApp::SendIdleEvents and wxApp::ProcessIdle into common code.
...
- wxWindow::OnInternalIdle is now used in all ports, and ensures that
user OnIdle events do not interfere with crucial internal processing.
- wxWindow::UpdateWindowUI is now a documented function that
sends wxUpdateUIEvents, and can be overridden. It has a helper function
DoUpdateWindowUI for taking appropriate wxUpdateUIEvent action.
- Added functions to wxUpdateUIEvent: Set/GetMode, Set/GetUpdateInterval,
CanUpdate, to assist with optimising update event frequency.
- Added functions to wxIdleEvent: Set/GetMode, CanSend, to
determine whether a window should receive idle events.
- Added wxWS_EX_PROCESS_IDLE, wxWS_EX_PROCESS_UI_UPDATES window
styles for use with conservative idle and update event modes.
- wxMSW and wxGTK now send menu update events only when a menu is
about to be used.
- Added WM_INITMENU processing instead of WM_ENTERMENULOOP, or
accelerators don't always get called since menu items may still
be disabled.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 10:15:21 +00:00
David Elliott
7fbc89bb02
Added CallOnInit() which allows the toolkit (wxCocoa) to do a bit of
...
processing around the real OnInit() call.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 15:32:11 +00:00
Vadim Zeitlin
bddd7a8d89
renamed WXDLLEXPORT_BASE/CORE to WXDLLIMPEXP_BASE/CORE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 01:59:24 +00:00
Vadim Zeitlin
886dd7d28e
fixes needed for separate DLL build to work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 01:41:23 +00:00
Vadim Zeitlin
13bdd545fb
we can't declare WinMain() with other arguments using Borland, revert to including windows.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 21:49:00 +00:00
Vadim Zeitlin
0fcbaf23fd
include init.h as wxEntry is supposed to be declared here
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 21:39:25 +00:00
Vadim Zeitlin
abca8ebff1
small wxGTK compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 20:33:30 +00:00
Vadim Zeitlin
05e2b077c6
more work on fixing wxEntry() and ANSI/Unicode cmd line args mess
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 20:02:05 +00:00
Vadim Zeitlin
9482617091
extracted common initialization/cleanup functions in common/init.cpp; standardized wxEntry()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 18:43:09 +00:00
Vadim Zeitlin
4f356748c6
removed #pragma interface because it results in link problems when building wxBase/wxGUI
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 00:08:31 +00:00
Vadim Zeitlin
e2478fde62
wxBase/GUI separation: 1st step, wxMSW should build, all the rest is broken
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 00:56:19 +00:00
Stefan Csomor
2d2ed20f7b
mach-o addition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 19:18:51 +00:00
David Elliott
ab590906ba
- Include wxCocoa specific header
...
- Use the normal UNIX IMPLEMENT_WXWIN_MAIN macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 05:55:53 +00:00
Julian Smart
371a5b4e62
Removed erroneous copyright names and corrected licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 10:34:04 +00:00
Mattia Barbon
e9e4acc519
Remove #ifdef __WXSTUBS__ from headers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 09:22:53 +00:00
Vadim Zeitlin
53c9228ead
always declare wxAppInitializerFunction() as returning wxApp, whether we use gcc or not
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 23:58:13 +00:00
Vadim Zeitlin
6ba7c06eee
declare wxEntry() as taking char **Argv, not char *argv[]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 17:35:07 +00:00
Vadim Zeitlin
a42de1303a
fix wxBase apps compilation after ProcessIdle() change from the patch 588734
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 11:45:06 +00:00
Gilles Depeyrot
af49c4b8a2
disable use of #pragma interface under Mac OS X
...
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 11:29:13 +00:00
Vadim Zeitlin
a69be60b0f
removed wxApp::DoInit(); added wxApp::CreateMessageOutput(); fixed wxMsgOutput memory leak
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 00:58:34 +00:00
Robert Roebling
6d60815d74
Convert %s to %ls and %c to %lc in printf and scanf etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 12:09:48 +00:00
Vadim Zeitlin
1cbee0b42c
the app doesn't exit any more if a dialog is shown (and destroyed) while
...
the flow of control is still in OnInit()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 20:42:07 +00:00
Julian Smart
90a1a975d4
Applied patch [ 588734 ] Makes ProcessIdle() virtual
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-01 19:54:55 +00:00
Mattia Barbon
74698d3a22
Added wxMessageOutput as per the discussion on wx-dev.
...
Added wxApp::DoInit to initialize the global wxMessageOutput instance.
Changed wxCommandLineParser to use wxMessageOutput.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-24 19:29:53 +00:00
Vadim Zeitlin
aad65f130d
new wxASSERT implementation using wxAssert() helper function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 19:37:43 +00:00
Vadim Zeitlin
9154d8cfff
added/documented wxApp::FilterEvent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 17:21:02 +00:00
Vadim Zeitlin
e6e6fcc922
the build options are now checked in the application, not the library which allows to avoid having to define wxGetBuildOptions()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 15:58:29 +00:00
Gilles Depeyrot
be52b34172
added DECLARE_NO_COPY_CLASS where appropriate since wxObject should not
...
provide implicit copy constructor or assignement (will be corrected)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 13:30:26 +00:00
Vadim Zeitlin
090a6d7af9
added wxBuildOptions and check that they are the same for the program and the library on startup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 19:56:43 +00:00
Václav Slavík
0e04ef47f6
move wxApp::GetStdIcon to wxArtProvider
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:19:01 +00:00
Vadim Zeitlin
73deed44e6
1. made wxDebugMsg, wxError and wxFatalError deprecated (still available
...
with WXWIN_COMPATIBILITY_2_2)
2. moved wxInternalErrorStr and wxFatalErrorStr to a common file
CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: include/wx/app.h include/wx/chkconf.h include/wx/utils.h
CVS: src/common/appcmn.cpp src/common/fontmap.cpp
CVS: src/common/utilscmn.cpp src/gtk/data.cpp src/mac/data.cpp
CVS: src/mac/utils.cpp src/msw/data.cpp src/msw/utils.cpp
CVS: src/os2/DATA.CPP src/os2/UTILS.CPP src/unix/utilsunx.cpp
CVS: ----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 18:18:36 +00:00
Julian Smart
83df96d63a
Reformatted Motif headers; added __WXX11__ symbol support to common headers;
...
added place-holding src/x11 and include/wx/x11 files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-05 16:34:33 +00:00
Gilles Depeyrot
799ea01170
implement out-of-line destructors where needed instead of using __DARWIN__
...
specific conditional compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-07 21:52:28 +00:00
Václav Slavík
07082b28a5
more programmer-friendly wxApp::SetDisplayMode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 00:01:11 +00:00
Václav Slavík
55176f44e2
oh, better interface to GetDisplayMode (Vadim was right; previous commit was by accident)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 00:00:06 +00:00
Václav Slavík
1b4908dedc
added wxApp::GetDisplayMode function for fullscreen ports
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 21:36:15 +00:00
Vadim Zeitlin
8461e4c253
added wxApp::Yield()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 18:29:32 +00:00
Vadim Zeitlin
6e711d5c09
applied patch 446836: removed qt headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 14:52:26 +00:00
Václav Slavík
f9a3f576cc
wxMGL support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-09 22:43:32 +00:00
Gilles Depeyrot
f11bdd03b9
modified configure to allow configuration of wxMotif under Darwin/Mac OS X
...
wxWindows can be configured as wxMac or wxMotif under Mac OS X
replaced __WXMAC_X__ define by __DARWIN__ (general Darwin related issues)
moved dlopen/dlerror code to dynlib.cpp to make it available for wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-15 18:47:13 +00:00
Vadim Zeitlin
a5f1fd3e33
added and documented wxApp::OnAssert
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 15:19:32 +00:00
Vadim Zeitlin
bf188f1add
added cmd line parsing support to wxApp and --theme option to wxUniv
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 17:28:19 +00:00
Vadim Zeitlin
24e78d272a
moved WX_USE_THEME macros inside IMPLEMENT_APP
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 15:14:57 +00:00
Julian Smart
54800df8d8
Misc fixes, now menus are almost working on MicroWindows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 13:35:53 +00:00
Julian Smart
04ef50df3a
First pass at adding MicroWindows support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-29 10:58:59 +00:00
Vadim Zeitlin
1e6feb95a7
first pass of wxUniv merge - nothing works, most parts don't even compile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 20:59:19 +00:00
Vadim Zeitlin
fae9f59039
added tiny wxInitializer class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 23:11:15 +00:00
Vadim Zeitlin
6d56eb5c56
applied patch 417699 (remove WXDLLEXPORT from inline functions)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-26 16:38:11 +00:00
Gilles Depeyrot
d5408e98bc
correction for Mac OS X (wxEntry has a specific prototype for Mac?)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-07 14:42:25 +00:00
Vadim Zeitlin
83a5b533e2
made wxApp::GetTopWindow() virtual
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-20 13:39:50 +00:00
Gilles Depeyrot
03e11df547
modifications for compilation under Mac OS X
...
applied patches extracted from submission by Marc Newsam (tested under Mac OS 9)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-15 21:51:14 +00:00
Stefan Csomor
5b781a6729
updated mac sources (CW 5.3 working , CW6 still having code gen problems)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-08 21:13:12 +00:00
Bryan Petty
f6bcfd974e
merged 2.2 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Guillermo Rodriguez Garcia
9bdc99bec2
Fix from Mumit Khan to allow mingw DLL compilation, v.2 :-)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 07:32:25 +00:00
Guillermo Rodriguez Garcia
af7b970e76
Fix from Mumit Khan to allow mingw DLL compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 07:29:51 +00:00
David Webster
75acb5321e
os2 update. Need initializers like windows, not unix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 22:26:41 +00:00