Paul Cornett
29e461a210
remove unnecessary GTK declarations from defs.h, move things only used once to the place that needs them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-07 16:56:50 +00:00
Paul Cornett
31f4ed4aa3
remove unused function GetGdkVisual()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-07 18:30:18 +00:00
Paul Cornett
4d4ec2a507
Make m_idleMutex an object instead of a pointer. Use bool for hook-installed flag, the actual hook id is not needed.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-13 15:40:35 +00:00
Julian Smart
426d19f139
Applied patch #9058 (add Hildon 2.0 support)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 12:36:34 +00:00
Vadim Zeitlin
657a8a3598
first round of debug/release merge: introduce wxDEBUG_LEVEL, for now defined as 1 if __WXDEBUG__ is defined, i.e. no real changes; don't use __WXDEBUG__ in the headers to keep debug and release builds ABI-compatible; add functions to customize or disable asserts handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 23:36:37 +00:00
Francesco Montorsi
dde19c2180
second part of #10320 : move wxApp event handling functions to wxEventLoopBase (in particular move Yield() functions); add backward compatible redirections to wxApp; update docs; remove global lists wxPendingEvents and wxPendingEventsLocker
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-15 14:25:08 +00:00
Francesco Montorsi
d48b06bd90
check in the 'selective yield' patch (see ticket #10320 ):
...
- implements YieldFor() with event filtering for wxMSW and wxGTK,
adds TODO markers in other ports;
- replaces wxYield() in GTK's clipboard code with a wxTheApp->YieldFor() call, thus fixing possible reentrancies
(and modifies clipboard sample to test synchronous IsSupported calls)
- replaces wxYieldIfNeeded() calls in wxProgressDialog with wxTheApp->YieldFor() calls, so that it processes only
UI/user-input events, thus fixing the race condition visible in the "thread" sample
- documents the new functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 17:42:28 +00:00
Vadim Zeitlin
c50c6fb23b
add SetNativeTheme() (slightly modified patch 1884553)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 17:46:14 +00:00
Vadim Zeitlin
e2f3bc4110
some Hildon integration work: use HildonProgram (for integration with the OS), HildonWindow (which has native appearance) and more native-like menus
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-12 00:25:09 +00:00
Václav Slavík
b5dbe15d0b
added WXDLLIMPEXP_FWD_FOO macros in addition to WXDLLIMPEXP_FOO for use with forward declarations (in preparation for GCC visibility support)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:09:52 +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
Paul Cornett
a1abca322f
Reorganize idle system code.
...
Installing idle handler from GTK callbacks is no longer necessary.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 16:58:07 +00:00
Vadim Zeitlin
498ace9e1f
Refactor all code common to X11 OpenGL implementations into glx11.h/.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 23:06:45 +00:00
Paul Cornett
67461bd124
rename RemoveIdleSource to SuspendIdleCallback
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 17:46:20 +00:00
Paul Cornett
8a378a9e16
add emission hook from RemoveIdleSource (was RemoveIdleTag); minor cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 04:53:02 +00:00
Paul Cornett
4f13428c4f
correct idle tag type; remove unneeded includes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 18:36:19 +00:00
Vadim Zeitlin
2d97237dac
override OnAssertFailure(), not OnAssert() which is not called by wxOnAssert() any longer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 22:48:07 +00:00
Paul Cornett
0006b9a540
remove obsolete color cube and image to bitmap code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 16:14:21 +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
Michael Wetherell
20123d4958
Add import/export attributes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-02 22:58:06 +00:00
Michael Wetherell
845905d588
Move G_FILENAME_ENCODING to wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 20:05:57 +00:00
Robert Roebling
66bf009984
Made wxConvBrokenFileNames public.
...
Made use of it from GTK+'s wxApp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 23:15:54 +00:00
Vadim Zeitlin
34a34b020f
applied patch fixing problems with X server crash when using wxGLCanvas with nVidia cards (patch 1155132)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 18:06:43 +00:00
Václav Slavík
fe593cc504
(hopefully) fixed race condition in installing idle handler (calling wxPostEvent from non-main thread)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-04 20:04:59 +00:00
Václav Slavík
448c8e496d
m_wakeUpTimerTag is not used anywhere, removed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-04 19:13:07 +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
cc70081166
removed Initialized()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-27 15:20:28 +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
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
Václav Slavík
1202890513
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:38:21 +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
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
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
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
Gilles Depeyrot
ab7ce33c56
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@17039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 12:28:46 +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
Robin Dunn
be88a6ade9
Fixed wxApp::OnAssert signature.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 01:43:03 +00:00
Robert Roebling
010afced51
Updated makefile for mobile sample.
...
Updated changes.txt.
Moved contents of ::Update() to ::GtkUpdate()
Moved internal idle functions in wxApp to
its own function.
Tried to fix themed background redraw problem
(probably same bug in wxNotebook and in
wxStatusBar and others).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 17:39:49 +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
Robert Roebling
005f5d1878
Some additions to the 12-bit patch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-12 12:21:57 +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
a6f5aa49cf
applied wxGLApp patch ( #464500 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 13:53:55 +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
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
Jouk Jansen
f920114415
Committing in .
...
Modified Files:
wxWindows/include/wx/gtk/app.h
Added wxEntry like in other ports (i.e. Motif)
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-24 05:50:48 +00:00
Jouk Jansen
d02af7bbb9
Committing in .
...
Modified Files:
wxWindows/include/wx/gtk/app.h wxWindows/lib/vms_gtk.opt
wxWindows/samples/minimal/descrip.mms
wxWindows/src/common/descrip.mms
wxWindows/src/generic/colrdlgg.cpp
wxWindows/src/generic/descrip.mms
wxWindows/src/gtk/dcclient.cpp wxWindows/src/gtk/descrip.mms
wxWindows/src/gtk/filedlg.cpp wxWindows/src/gtk/fontdlg.cpp
wxWindows/src/gtk/frame.cpp wxWindows/src/gtk/listbox.cpp
wxWindows/src/gtk/tbargtk.cpp wxWindows/src/gtk/win_gtk.c
wxWindows/src/gtk/window.cpp wxWindows/src/unix/descrip.mms
Patches for wxGTK for VMS
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-10 13:24:55 +00:00
Jouk Jansen
27df579a6f
Committing in .
...
Patches for the wxGTK compilation on VMS
Modified Files:
wxWindows/descrip.mms wxWindows/setup.h_vms
wxWindows/include/wx/gtk/app.h
wxWindows/samples/minimal/descrip.mms
wxWindows/src/generic/descrip.mms
wxWindows/src/generic/filedlgg.cpp wxWindows/src/gtk/app.cpp
wxWindows/src/gtk/descrip.mms wxWindows/src/gtk/listbox.cpp
wxWindows/src/gtk/utilsgtk.cpp wxWindows/src/gtk/win_gtk.c
wxWindows/src/gtk/window.cpp
wxWindows/src/gtk/wx_gtk_vmsjackets.c
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 08:07:59 +00:00