Vadim Zeitlin
ccef86c75d
added EVT_MENU_OPEN and EVT_MENU_CLOSE events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 23:16:32 +00:00
Vadim Zeitlin
9327c3aa02
fixed wxFrame::IconizeChildFrames() bug which would restore the child frame even if it had been iconized before the main frame was
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 01:26:14 +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
41e929e5cf
decouple wxTLW,Frame::ShowFullScreen in wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 22:16:16 +00:00
Vadim Zeitlin
b225f65995
changed/centralized window creation code to allow wxTLW work in wxUniv
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 22:17:24 +00:00
Vadim Zeitlin
82c9f85ce5
added wxTLW for MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-24 00:34:14 +00:00
Vadim Zeitlin
c48926e149
fixes for Raise() to work correctly with both top level and child windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 23:02:27 +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
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
Václav Slavík
4a41c655e8
yet another attempt to fix LastFocus bug in wxFrame
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-27 14:01:18 +00:00
Václav Slavík
de243b058f
fixed bug in wxFrame::OnActivate
...
(added virtual void RemoveChild() which make sure OnActivate
won't accidentally use invalid m_winLastFocused ptr)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-23 17:02:18 +00:00
Vadim Zeitlin
bf505d2855
correct fix for Maximize() for hidden frames
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 01:09:21 +00:00
George Tasker
3cfcd50b7d
SendSizeEvent() method moved from wxWindow to wxFrame, as that is the only place that the code in this function applies to.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-31 18:43:54 +00:00
Václav Slavík
91dd52fe3b
added wxFrame::IsMDIChild() (msw only, protected)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-25 23:13:29 +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
Julian Smart
a2327a9f80
Added ShowFullScreen
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 19:14:50 +00:00
Vadim Zeitlin
1c4f8f8d18
1. wxMotif::wxFrame derives from wxFrameBase now
...
2. wxFrame::GetClientAreaOrigin() made common to all ports and documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 15:23:56 +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
Robert Roebling
8487f88742
Added IsTopLevel() as a virtual function.
...
Added fontenum.hto filelist.txt,
Changed window positioning code again,
some more related things.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 15:54:10 +00:00
Vadim Zeitlin
d59ceba572
1. more drag and drop and clipboard changes:
...
a) OLE clipboard works fine
b) wxBitmapDataObject now accepts DIBs (but doesn't give them back :-( )
c) bugs in sample corrected
2. wxFatalExit() replaced with wxFAIL_MSG() in bitmap.cpp and dcmemory.cpp
3. wxFrame::ClientToScreen and ScreenToClient() replaced with DoXXX() - like
this, they don't hide the base class versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 00:08:40 +00:00
Vadim Zeitlin
74b31181b3
1. Implemented support for different icons for different states (expanded,
...
selected, combination of them) for the tree control (and doc'd it)
2. removed code which was sending extra event if wxFrame::SetSize() was
used
3. important changes to wxWizard interface
4. small compilation corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 22:47:56 +00:00
Unknown (MT)
ea9a4296a2
Add detachmenu
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 07:16:18 +00:00
Ove Kaaven
9df8c2df09
Couple more Unicode fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-14 14:20:58 +00:00
Vadim Zeitlin
d427503c36
1. some more of "#if wxUSE_XXX" here and there
...
2. Makefile fixes for Cygwin compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-13 22:54:04 +00:00
Robin Dunn
b54238992f
Added wxFrame::MakeModal for MSW, (it's already there for GTK)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-08 07:01:10 +00:00
Robin Dunn
46499442ee
fixed error about wxFrame::Command not returning a value
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-19 04:41:23 +00:00
Vadim Zeitlin
42e69d6b43
1. wxMSW seems to work (please test and send your bug reports!)
...
2. accelerators in the menus a la GTK (actually slightly better) implemented
3. wxSplitter now uses events (and so the code which was broken by recent changes
works again)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-19 00:53:27 +00:00
Vadim Zeitlin
a23fd0e1d1
1. MSW message handling simplifications
...
2. wxDC split into wxDC and wxDCBase
3. Several minor bug fixes, many major new bugs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-13 21:21:04 +00:00
Vadim Zeitlin
cc2b747254
wxWindow split (MSW part of changes)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-10 00:42:57 +00:00
Ove Kaaven
39ca6d790b
Some Unicode changes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-19 17:47:19 +00:00
Julian Smart
e702ff0f08
Menu/toolbar event handling now tries the window with the focus first.
...
wxTextCtrl processes cut, copy, paste, undo, redo commands and UI updates
automatically.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-07 21:33:22 +00:00
Julian Smart
721b32e058
DoSetClientSize omissions fixed; some doc fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-26 22:22:13 +00:00
Vadim Zeitlin
bfc6fde4b1
GetSize() and GetClientSize() changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-22 11:01:13 +00:00
Julian Smart
dbdb39b2d0
Some doc corrections; removed wxDocument arg from wxView constructor;
...
wxTextCtrl::OnChar correction; added SetString and default constructor
to wxStringTokenizer; added missing MSW wxFrame::SetSize functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-16 20:17:02 +00:00
Vadim Zeitlin
16f6dfd814
made wxToolTip::Enable() and SetDelay() static (as in wxGTK) and added some
...
code in the controls sample to test them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-14 21:59:48 +00:00
Julian Smart
e306597309
Removed lots of OnClose functions; doc'ed OnCloseWindow better;
...
MM_... -> wxMM_...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-05 23:55:04 +00:00
Vadim Zeitlin
3a19e16d18
wxToolTip for MSW implementation (it has several problems right now, but it
...
still works)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-31 23:38:10 +00:00
Julian Smart
6244848856
Changes for 16-bit BC++ (not there yet), GnuWin32; typetest sample
...
fixed; some documentation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-28 12:35:49 +00:00
Julian Smart
6f63ec3f93
Just a teeny change -- addition of wxFrame::IsMaximized. For wxMDIChildFrame
...
in wxGTK, is probably always TRUE (always size of client area).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 17:59:50 +00:00
Vadim Zeitlin
7b218dfaf4
only one of SetSize()s, SetClientSize()s, GetPosition()s &c is virtual now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-13 22:01:50 +00:00
Vadim Zeitlin
6a8158088f
added wxTB_FLAT to default style in wxFrame::CreateToolbar()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-28 22:28:25 +00:00
Julian Smart
4fabb57533
wxSize/wxPoint/wxRect versions of functions added to wxMSW, wxMotif;
...
wxScrollBar::Set/GetPosition changed to Set/GetThumbPosition to avoid clash;
various other portability changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-28 13:38:40 +00:00
Julian Smart
87d1e11fd4
Minor changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-08 15:16:11 +00:00
Robin Dunn
d1c74ca98b
Added wxFrame::SetStatusBar for wxPython
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-02 06:38:30 +00:00
Julian Smart
14b72bf5a6
Attempting to check in this wretched cursor again. Also added SetAcceleratorTable
...
to wxWindow, GnuWin32 fix in registry.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-08-13 10:19:16 +00:00
Julian Smart
bbcdf8bc7c
Fixed various wxMSW compile problems that came down the telephone line...
...
plus wxTreeCtrl::EditLabel/EndEditLabel, dialog editor stuff, wxMSW header changes,
doc changes. Sorry about the quantity :-(
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-08-07 23:52:45 +00:00
Vadim Zeitlin
d2aef3124b
improved handling of frames with parent: now they have a NULL parent HWND (to
...
avoid Win32 bugs in handling this situation) but still are iconized/restored
with their parent frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-08-07 22:21:08 +00:00
Julian Smart
57a7b7c148
Added wxAcceleratorTable, wxFrame::SetAcceleratorTable and additions to process it under wxMSW.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-07-31 13:01:34 +00:00
Julian Smart
81d66cf39f
wxToolBar API changes; now frames manage their toolbar & statusbar properly;
...
client area position is used in SetSize; changes for BC++ & VC++ 1.5;
wxWindow::GetUpdateRegion added; removed wxUpdateIterator; some missing functions
added to process.cpp; bad navigation key event cast fixed; MDI and toolbar samples
updated; new wxMSW wxRegion constructor (WXHRGN)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-07-27 09:47:57 +00:00