Vadim Zeitlin
b6ed2b860c
attempts to fix separate compilation (didn't work)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 20:40:00 +00:00
Vadim Zeitlin
71a660a312
removed some stray MSW code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 20:18:20 +00:00
Vadim Zeitlin
f85cfb32fa
fixed gcc 3.3 compilation warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 19:40:33 +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
Julian Smart
0b30bb0bda
Added wxFrameBase::OnMenuOpen, and wxUSE_IDLEMENUUPDATES in platform.h
...
Experimental wxUpdateUIEvent::SetUpdateInterval() function to limit
UI update frequency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 16:21:44 +00:00
Stefan Csomor
5fe384748c
changed Remove to RemoveAt
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 19:48:05 +00:00
Stefan Csomor
c3a05e8a57
trying to avoid unneccessary redraws by not invalidating areas for windows that are not shown
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 19:59:34 +00:00
Stefan Csomor
7434de7498
flag removed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 19:57:37 +00:00
Stefan Csomor
536732e482
app traits support and CW Debug output fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 19:57:03 +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
2bf2d09ed0
replaced wxGetOsVersion() with wxGUIAppTraits::GetOSVersion()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 12:23:27 +00:00
Vadim Zeitlin
a40af6f957
fixed unused variable warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 12:21:09 +00:00
Stefan Csomor
a5c1f8ca21
function key support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 06:59:30 +00:00
Julian Smart
ae500232a4
Added m_ prefix to wxColourData and wxFontData members for consistency.
...
Fixed some typos in comments.
Fixed wizard constructor doc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 13:15:12 +00:00
Gilles Depeyrot
73bdd73aa2
minor corrections for compilation with gcc 3.3 (use cast of address instead
...
of address of cast)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 19:35:54 +00:00
Vadim Zeitlin
153ecbb81c
regenerated project/makefiles with tmake
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 01:24:12 +00:00
Vadim Zeitlin
505f0a85c9
removed duplicate wxTheApp and m_appInitFn definitions from all ports, not just MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 01:20:33 +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
Vadim Zeitlin
da0766ab2a
GetIcon() returns wxIconLocation, not wxIcon, now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 13:49:24 +00:00
Gilles Depeyrot
c5990c0034
corrected return value of wxTimer::Start when timer is successfully created
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-20 20:48:17 +00:00
Vadim Zeitlin
a434b43fd4
added wxIsDebuggerRunning() (which is going to replace the mess in log.cpp)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 23:31:19 +00:00
David Elliott
3fdac2ab39
In wxApp::OnIdle() check to see if there is not a current menubar and if
...
there is a common menubar, install it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 18:20:26 +00:00
David Elliott
1b1d2207ea
Add ability to have a wxMenuBar as a common menu
...
- static wxMenuBar::MacSetCommonMenuBar()
- static wxMenuBar::MacGetCommonMenuBar()
- static wxMenuBar::s_macCommonMenuBar;
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 18:17:33 +00:00
Vadim Zeitlin
de89696245
regenerated using tmake to add fldlgcmn.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 13:39:10 +00:00
Vadim Zeitlin
b600ed1362
wxFileDialog cleanup, extracted common code to fldlgcmn.cpp (patch 754187)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 13:31:49 +00:00
Vadim Zeitlin
1e74d03b7f
implemented alpha support for raw bitmaps under Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 12:57:44 +00:00
David Elliott
70024cfb08
Proposed wxMac MDI interface (in limbo)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 20:29:48 +00:00
David Elliott
245f35816d
Added support for delayed deactivation of windows (for MDI)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 20:24:32 +00:00
Vadim Zeitlin
6ed71b4f20
send wxEVT_SCROLLWIN_THUMBRELEASE events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 16:25:10 +00:00
Vadim Zeitlin
b0126f6094
regenerated all make/project files to include selstore.cpp/.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 13:06:51 +00:00
David Elliott
be7a101366
Make wxMDIParentFrame a regular top level window
...
- Override DoGetClientSize for wxMDIClientWindow instead of wxMDIParentFrame
- Do not override OnSize for wxMDIParentFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 13:41:05 +00:00
Vadim Zeitlin
d8a01976c0
trigraph warning fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 12:18:46 +00:00
Vadim Zeitlin
e135f09367
removed duplicate code from SetData(), just call AddData()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 11:36:45 +00:00
Vadim Zeitlin
63b8dd39b8
merged the confllict resolution (I've fixed the m_format bug independently); no real changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 11:34:26 +00:00
Vadim Zeitlin
ef5cfa3889
added selstore.(h|cpp)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 11:00:09 +00:00
Stefan Csomor
4ab107d7f1
corrected error in last fix for insert items
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 08:34:07 +00:00
Stefan Csomor
493ac0b8b5
GetId was accessing the m_format var incorrectly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 21:55:19 +00:00
Stefan Csomor
ac2153a686
cast correction Profiler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 21:04:00 +00:00
Stefan Csomor
383cbf1320
cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 21:02:06 +00:00
Stefan Csomor
4b26b60fac
MacHandleControlClick extended by mouseStillDown state for supporting things like THUMBRELEASE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 20:58:38 +00:00
Stefan Csomor
e71a0aa95f
changing inheritance and delegation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 20:34:29 +00:00
Robin Dunn
3ba18664fc
revert my last change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 15:54:41 +00:00
Robin Dunn
58751a8685
fix so wxMenu::InsertItem actually inserts rather than overwrites
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 23:46:36 +00:00
Robin Dunn
c69279ef70
Just silently return NULL like the other ports
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 23:15:50 +00:00
Stefan Csomor
595ec11a45
casts correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 21:26:50 +00:00
Stefan Csomor
f81bfef982
moving / sizing patch applied
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 21:16:43 +00:00
Stefan Csomor
65334b43fe
support undo patch applied
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 21:14:16 +00:00
Vadim Zeitlin
b6d5d4548c
made wxNativePixelFormat usable under Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 00:50:18 +00:00
Vadim Zeitlin
77a4354e85
compilation warnings fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 00:49:18 +00:00