David Elliott
c7e61a5ed2
Move m_isShown = false; into base class constructor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-25 20:19:36 +00:00
Robin Dunn
2626810054
Restored part of the default positioning code for dialogs that I
...
removed a few days ago.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-18 19:02:01 +00:00
Robin Dunn
72a1118475
MSWGetCreateWindowCoords is already setting CW_USEDEFAULT as needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-15 21:34:27 +00:00
Robin Dunn
e6c3fa1bb0
Use the WidthDefault and HeightDefault in wxTLW, not wxWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-13 21:35:58 +00:00
Julian Smart
d61c1a6f21
Fixed source for WinCE compatibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-17 10:06:26 +00:00
Vadim Zeitlin
bb655eade9
don't show the accels on the controls if the system is configured to hide them initially (bug 718368)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 23:18:01 +00:00
Julian Smart
6463b9f539
Reverted patch [ 832096 ] Final separation for GUI and console for Open Watcom
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 13:49:22 +00:00
Julian Smart
1169a91932
Applied patch [ 832096 ] Final separation for GUI and console for Open Watcom
...
(Watcom compiler doesn't like ctor implementation in headers)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 15:33:01 +00:00
Julian Smart
c0f984728e
Corrected typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-27 22:31:01 +00:00
Julian Smart
2d36b3d847
WinCE 4 cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-27 17:24:00 +00:00
Julian Smart
80a81a12af
WinCE patches from "Viktor Voroshylo" <viktor@voroshylo.com>
...
1) to take care of ShowFullScreen.
2) will make WinCE context menu in listctrl to generate the same event as right click. WinCE does not have right click so I think it is reasonable solution for it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-28 09:19:18 +00:00
Vadim Zeitlin
999836aaca
warning fixes for BCC and OW (heavily modified patch 819146)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 10:28:15 +00:00
Vadim Zeitlin
2736a5def9
fix SetFocus() in wxDialog-derived class ctor (which used to be ignored); this replaces patch 769552
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-26 17:35:54 +00:00
Chris Elliott
f4d3253b59
fix digitalmars bug (ambiguous symbol)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 08:29:21 +00:00
Julian Smart
f8d5683072
Applied patch [ 808328 ] restore border styles for wxFrame
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 13:03:27 +00:00
Vadim Zeitlin
404a4d9363
tool windows shouldn't appear on the taskbar (patch 808350)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 11:32:09 +00:00
Julian Smart
ffcb4ee424
WinCE fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 14:15:20 +00:00
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
Vadim Zeitlin
cef338d391
fixed wxSTAY_ON_TOP for the dialogs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 23:50:38 +00:00
Vadim Zeitlin
2eb10e2a17
more warning fixes; removed references to wxToolBarBase from wxRTTI
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 01:42:41 +00:00
Julian Smart
39d2f9a7c8
Added WCE toolbar
...
Got menubars working with WCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 14:12:53 +00:00
Julian Smart
4676948b68
More WinCE mods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 21:50:07 +00:00
Julian Smart
fda7962d02
Applied patch [ 761138 ] Replaces references to wxT("") and _T("") with wxEmptyString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 08:36:14 +00:00
Julian Smart
31e7e89fdd
Fixed style glitches
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 15:03:11 +00:00
Vadim Zeitlin
660b190686
fixed spurious debug error message
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 20:41:59 +00:00
Robin Dunn
6a7e641161
Shaped window support for wxMac, plus a wxSTAY_ON_TOP fix from Egon
...
<e_lub@yahoo.com > wxMac requires knowledge before Create that SetShape
will be called so I also added the wxFRAME_SHAPED style flag.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 00:39:15 +00:00
Chris Elliott
4ce1efe123
update to make digitalmars compile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 18:15:17 +00:00
Robin Dunn
1542ea396a
Added wxTLW::SetShape and implementations for wxGTK, wxMSW and an
...
empty stub for wxMac.
Added some generic helpers and a new ctor to wxRegion.
Added samples/shaped.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 23:05:05 +00:00
Julian Smart
6c9a19aaba
Removed erroneous copyright names and corrected licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:23:28 +00:00
Václav Slavík
9ca4dd06de
implemented wxCLOSE_BOX under Windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 18:58:58 +00:00
Vadim Zeitlin
716645d361
maximize the window to the correct display (i.e. the one it is currently on); ShowFullScreen() actually shows the window, too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 14:24:34 +00:00
Vadim Zeitlin
a0be434e78
fixed calling Maximize(FALSE) before the window is shown (bug 667665)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 14:58:17 +00:00
Mattia Barbon
77e00fe9da
Do not use deprecated functions.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 21:00:50 +00:00
Vadim Zeitlin
1383482892
send an extra kill focus event when we're deactivated
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 18:17:15 +00:00
Václav Slavík
7e99eddf64
don't translate strings when it doesn't make any sense
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 21:26:22 +00:00
Julian Smart
84cff96585
Applied patch [ 642174 ] Stop TOOL_WINDOWS stealing focus
...
When frames with the wxFRAME_TOOL_WINDOW
style ( i.e. a floating toolbar frame) is shown it is
activated, taking focus from the main application
window. This patch stops frames with the
wxFRAME_TOOL_WINDOW from being activated when
shown.
Scott Pleiter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 10:31:17 +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
Guillermo Rodriguez Garcia
9b601c243f
Removed compilation warnings (mostly mismatches between the format string
...
for debug/trace printfs and the actual parameters, e.g. int vs long, etc)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-26 21:12:25 +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
Mattia Barbon
d285d708a2
Fix some GCC 3.1 compilation warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-05 16:45:15 +00:00
Vadim Zeitlin
12447831a8
compilation fixes for wxUniv (moved wxDlgProc back to toplevel.cpp)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 22:26:32 +00:00
Vadim Zeitlin
706d74ab81
compilation fix for !USE_PCH (patch 569132)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 22:05:21 +00:00
Vadim Zeitlin
61179e28bd
fixed problems with hanging inside IsDialogMessage or DefDlgProc by forcing all parents of windows with WS_EX_CONTROLPARENT to have this style themselves as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 23:59:11 +00:00
Vadim Zeitlin
085ad68651
moved OnActivate() logic from wxFrame to wxDialog -- this fixes infinite loop when handling WM_ACTIVATE in DefDlgProc in some crazy situations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 00:04:22 +00:00
Vadim Zeitlin
24b3cc2c96
reverted wxPopupWindow implementation to the original version using WS_CHILD and desktop as parent; this fixes the activation problem but reopens the other ones
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-05 23:30:00 +00:00
Vadim Zeitlin
d6fb86a81c
bring the parent of a wxFRAME_FLOAT_ON_PARENT frame to the top when deleting it as Windows doesn't do it automatically
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-05 22:37:24 +00:00
Vadim Zeitlin
dea077b164
set the focus to the first control in the dialog when it is shwon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 12:04:12 +00:00
Vadim Zeitlin
9dfef5ac20
changes to wxFRAME_NO_TASKBAR/FLOAT_ON_PARENT styles handling which should
...
now work more as expected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-25 17:11:19 +00:00
Vadim Zeitlin
7e25f59e48
prevent the parent window from losing activation when a popup is shown
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-25 13:02:58 +00:00
Vadim Zeitlin
7fe1a8b5a9
no significant changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-06 22:23:47 +00:00