Václav Slavík
14f355c2b5
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +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
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Vadim Zeitlin
7b4c2a061b
fixed bug introduced by my previous GtkUpdateSize() commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 13:14:27 +00:00
Vadim Zeitlin
b8b7f03cef
use GtkUpdateSize() for consitency everywhere instead of directly setting m_sizeSet
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-05 13:24:49 +00:00
Vadim Zeitlin
94f1450956
fixed SetToolBar(NULL) behaviour -- don't leave a hole from toolbar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-05 13:20:54 +00:00
Robert Roebling
047ac72bbe
Made OnInit() and OnRun() logic like MSW when it
...
comes to quitting the app with no windows.
Fixed overlapping windows when detaching the
toolbar from the main frame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-04 11:53:06 +00:00
Vadim Zeitlin
9e691f46b2
changes to make wxGTK compile with GTK+ 2.0: now it does but the minimal
...
sample crashes on startup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 19:24:30 +00:00
Václav Slavík
e7dda1ffa3
respect minimal wxTLW size in wxUniv
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 19:08:54 +00:00
Robert Roebling
f283a57525
Corrected wxFrame::SetMenuBar() for repeated calls
...
including for NULL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 18:06:08 +00:00
Václav Slavík
0d53fc3442
we no longer need wxFrameNative
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 20:35:05 +00:00
Václav Slavík
7d9f12f3b9
wxTopLevelWindow (only for wxGTK for now)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-15 22:13:08 +00:00
Vadim Zeitlin
75c9da2562
unsuccessful attempts to fix wxMenuBar positioning under wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 12:57:32 +00:00
Vadim Zeitlin
6522713c75
wxUniv compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 12:25:46 +00:00
Vadim Zeitlin
af8964c4c3
simplified RTTI chain: wxFrame base class is now directly wxWindow, not wxFrameMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 21:41:19 +00:00
Vadim Zeitlin
48ff57aed8
backported crash fix for wxFrame::Iconize() from 2.2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 16:07:32 +00:00
Vadim Zeitlin
0c39421228
compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 10:40:34 +00:00
Julian Smart
2a365b7d3f
Fixed some compilos. Things that still need fixing incl. logg.cpp compilation
...
and docvwmdi debugging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-28 16:49:17 +00:00
Julian Smart
3a12b404f8
Now wxFrame derives from wxFrameMSW/GTK in non-wxUniv mode. Fixes RTTI problems.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 17:19:49 +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
Robert Roebling
f94fca1b74
I don't understand the SetIconState code in /src/frome.cpp, but
...
I know it is wrong. This also caused the splitter window bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-14 16:15:29 +00:00
Vadim Zeitlin
3dd9b88ac2
we now send iconize events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-31 14:32:06 +00:00
Vadim Zeitlin
ca8bf9766e
give frame a reasonable default size if none specified
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-18 15:40:15 +00:00
Robert Roebling
d786bf877e
Set the m_isFrame flag corrcetly.
...
Typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-16 11:26:28 +00:00
Julian Smart
a2d93e735a
Added Set/GetThemeEnabled and used this for determining whether to paint a theme
...
background.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-15 13:15:37 +00:00
Robert Roebling
117247fd2c
wxFrame's m_mainWidget didn't have themes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-15 11:49:39 +00:00
Vadim Zeitlin
c0f09a2e88
1. wxFrame::IsIconized() fixed - seems to work
...
2. a couple of unused vars removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-13 12:25:42 +00:00
Robert Roebling
43f5c4930f
Did the unmap/map trick for wxFrame::IsIconized().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-13 11:45:43 +00:00
Robert Roebling
343e14b3e2
Added experim. support for wxFRAME_TOOL_WIN
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-11 17:12:38 +00:00
Julian Smart
84eacd3032
Corrected frame.cpp to recognise wxNO_BORDER properly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-11 13:02:54 +00:00
Robert Roebling
3d0c4d2e7b
Applied DrawArc patch.
...
Applied break-up-region patch.
Implemented sort of ShowFullScreen() - test in scrollsub.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-05 10:51:30 +00:00
Julian Smart
fa755cf187
Don't allow for status or toolbar size if they are not currently shown
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-29 13:21:07 +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
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
Robert Roebling
1f3c610d03
The Return of WM Size Hints Part IV.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 19:51:08 +00:00
Robert Roebling
15909a16b3
Funny resize behaviour fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 16:23:09 +00:00
Robert Roebling
80629c8bf6
Next take at getting mini-frames even with Life! to work...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 20:41:27 +00:00
Robert Roebling
8185521695
Fixed mini-frame problems.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 19:47:23 +00:00
Robert Roebling
8cb9f0d0f8
Fixed missing paint events when overriding DoMoveWindow()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 20:08:31 +00:00
Robert Roebling
186baeb237
Fixed various bugs (from - err - various authors) related
...
to inserting and replacing menubars etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 17:24:09 +00:00
Robert Roebling
b6fa52db66
Some make corrections for HP and related,
...
Changed refresh order so that window-less widgets
don't get overdrawn anymore,
Prevent GTK from filtering our supposedly unneeded
expose events,
Block all expose calls if a resize is requested and
do a full redraw then, thus removing flicker and
behaving like wxMSW,
Moved some doubled expose and draw code from GtkPizza
to the respective callbacks in window.cpp,
Set idle priority to a higher value (which should
indicate a lower priority if I interpret glib.h
correctly) but the desired side-effect didn't
really show up.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 13:24:34 +00:00
Robert Roebling
a56fcaaf46
Some more drawing things,
...
Tried to make miniframe stay on top, doesn't work,
Make radio box big enough for its title,
Can't anylong close disabled toplevel windows,
Minor other changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 18:40:52 +00:00
Robert Roebling
8febdd3905
Fixed status bar probs,
...
Compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 17:56:26 +00:00
Robert Roebling
5b8a521e59
Next try at avoiding too few or too many size events.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 20:06:47 +00:00
Robert Roebling
23efdd028e
Added wxWindow::DoMoveWindow(..)
...
Changed dnd and clipboard overviews.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 11:52:51 +00:00
Robert Roebling
f59d80ca00
Small doc updates, mainly wxDropTarget,
...
wxFileDlg now interprets a default dir of "." as
the current working dir,
dialog and frame honour "wxApp::DeleteFrameOnExit".
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 09:48:10 +00:00
Vadim Zeitlin
caf51f9536
fix for compilation with both native and generic kinds of toolbars
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 18:13:36 +00:00
Vadim Zeitlin
93fa69f84b
support for vertical toolbars under GTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 18:50:19 +00:00
Robert Roebling
55703c9178
?lk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 16:45:59 +00:00
Vadim Zeitlin
7c0ea335c7
wxFrameBase class for wxMSW and wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 21:31:40 +00:00