[Commits] (markie) Robin 2004-04-14 patch applied
commits at osafoundation.org
commits at osafoundation.org
Wed Apr 14 10:23:45 PDT 2004
Commit by: markie
Modified files:
wxPythonSrc-2.5.1.5/src/common/wincmn.cpp 2.1.5.1 2.2
Log message:
Robin 2004-04-14 patch applied
ViewCVS links:
http://cvs.osafoundation.org/index.cgi/wxPythonSrc-2.5.1.5/src/common/wincmn.cpp.diff?r1=text&tr1=2.1.5.1&r2=text&tr2=2.2
Index: wxPythonSrc-2.5.1.5/src/common/wincmn.cpp
diff -u wxPythonSrc-2.5.1.5/src/common/wincmn.cpp:2.1.5.1 wxPythonSrc-2.5.1.5/src/common/wincmn.cpp:2.2
--- wxPythonSrc-2.5.1.5/src/common/wincmn.cpp:2.1.5.1 Thu Apr 8 18:16:17 2004
+++ wxPythonSrc-2.5.1.5/src/common/wincmn.cpp Wed Apr 14 10:23:15 2004
@@ -4,7 +4,7 @@
// Author: Julian Smart, Vadim Zeitlin
// Modified by:
// Created: 13/07/98
-// RCS-ID: $Id: wincmn.cpp,v 2.1.5.1 2004/04/09 01:16:17 markie Exp $
+// RCS-ID: $Id: wincmn.cpp,v 2.2 2004/04/14 17:23:15 markie Exp $
// Copyright: (c) wxWindows team
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
@@ -118,14 +118,18 @@
// no constraints on the minimal window size
m_minWidth =
m_minHeight =
- m_maxWidth =
- m_maxHeight = -1;
+ m_maxWidth =
+ m_maxHeight = -1;
- // window is created enabled but it's not visible yet
- m_isShown = false;
- m_isEnabled = true;
+#ifdef __WXMSW__
+ m_isShown = true;
+#else
+ // window is created enabled but it's not visible yet
+ m_isShown = false;
+#endif
+ m_isEnabled = true;
- // the default event handler is just this window
+ // the default event handler is just this window
m_eventHandler = this;
#if wxUSE_VALIDATORS
More information about the Commits
mailing list