]> git.saurik.com Git - wxWidgets.git/commitdiff
should have been part of r74664: Avoid calling gtk_window_get_position() from "config...
authorPaul Cornett <paulcor@bullseye.com>
Sun, 18 Aug 2013 04:28:28 +0000 (04:28 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Sun, 18 Aug 2013 04:28:28 +0000 (04:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/minifram.cpp

index 706a715db9642e923422af2ac07b0c72872ec96a..6d07a6d893036b5b60c7ad5bd12d27fd5aa36dc8 100644 (file)
@@ -396,7 +396,7 @@ bool wxMiniFrame::Create( wxWindow *parent, wxWindowID id, const wxString &title
     if (style & wxRESIZE_BORDER)
        m_gdkFunc = GDK_FUNC_RESIZE;
     gtk_window_set_default_size(GTK_WINDOW(m_widget), m_width, m_height);
     if (style & wxRESIZE_BORDER)
        m_gdkFunc = GDK_FUNC_RESIZE;
     gtk_window_set_default_size(GTK_WINDOW(m_widget), m_width, m_height);
-    m_decorSize.Set(0, 0);
+    memset(&m_decorSize, 0, sizeof(m_decorSize));
     m_deferShow = false;
 
     if (m_parent && (GTK_IS_WINDOW(m_parent->m_widget)))
     m_deferShow = false;
 
     if (m_parent && (GTK_IS_WINDOW(m_parent->m_widget)))