]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/toplvcmn.cpp
Applied SetForegorund colour patch for GTK2.
[wxWidgets.git] / src / common / toplvcmn.cpp
index aa0d96d70c7962cb9fbab2093e94ff3351909bf2..6ff702eff319dbc9e5424573295809113f9740e3 100644 (file)
@@ -54,6 +54,8 @@ IMPLEMENT_DYNAMIC_CLASS(wxTopLevelWindow, wxWindow)
 
 wxTopLevelWindowBase::wxTopLevelWindowBase()
 {
+    // Unlike windows, top level windows are created hidden by default.
+    m_isShown = false;
 }
 
 wxTopLevelWindowBase::~wxTopLevelWindowBase()