]> git.saurik.com Git - wxWidgets.git/commitdiff
Set the m_isFrame flag corrcetly.
authorRobert Roebling <robert@roebling.de>
Sat, 16 Sep 2000 11:26:28 +0000 (11:26 +0000)
committerRobert Roebling <robert@roebling.de>
Sat, 16 Sep 2000 11:26:28 +0000 (11:26 +0000)
  Typo.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/listctrl.cpp
src/gtk/frame.cpp
src/gtk/mdi.cpp
src/gtk1/frame.cpp
src/gtk1/mdi.cpp

index 96af1ef03cb68c7fef80e9bb0b85c35ee61f1911..d0603a87659a8fca35614add8f1de30483103537 100644 (file)
@@ -1702,7 +1702,7 @@ void wxListMainWindow::OnPaint( wxPaintEvent &WXUNUSED(event) )
                 x += colWidth ;
                 dc.DrawLine(x, firstItemRect.GetY() - 1, x, lastItemRect.GetBottom() + 1);
             }
-       }
+        }
     }
     else
     {
index bb7d68e74fdd7b6ffc17e61f3aaf2326a8da8283..9cae95648b4620edbf4ad3179ee3b61cc6c9d2a9 100644 (file)
@@ -447,6 +447,7 @@ void wxFrame::Init()
     m_menuBarDetached = FALSE;
     m_toolBarDetached = FALSE;
     m_insertInClientArea = TRUE;
+    m_isFrame = TRUE;
     m_isIconized = FALSE;
     m_fsIsShowing = FALSE;
     m_themeEnabled = TRUE;
index 34c130d9d59f91c34535c2b51feba75d9a46c7ff..cb80b42cedc97daa0840f0f2f08e0631a77998bb 100644 (file)
@@ -297,7 +297,7 @@ wxMDIChildFrame::wxMDIChildFrame()
 {
     m_menuBar = (wxMenuBar *) NULL;
     m_page = (GtkNotebookPage *) NULL;
-    m_isFrame = TRUE;
+    m_isFrame = FALSE;
 }
 
 wxMDIChildFrame::wxMDIChildFrame( wxMDIParentFrame *parent,
@@ -307,7 +307,7 @@ wxMDIChildFrame::wxMDIChildFrame( wxMDIParentFrame *parent,
 {
     m_menuBar = (wxMenuBar *) NULL;
     m_page = (GtkNotebookPage *) NULL;
-    m_isFrame = TRUE;
+    m_isFrame = FALSE;
     Create( parent, id, title, wxDefaultPosition, size, style, name );
 }
 
index bb7d68e74fdd7b6ffc17e61f3aaf2326a8da8283..9cae95648b4620edbf4ad3179ee3b61cc6c9d2a9 100644 (file)
@@ -447,6 +447,7 @@ void wxFrame::Init()
     m_menuBarDetached = FALSE;
     m_toolBarDetached = FALSE;
     m_insertInClientArea = TRUE;
+    m_isFrame = TRUE;
     m_isIconized = FALSE;
     m_fsIsShowing = FALSE;
     m_themeEnabled = TRUE;
index 34c130d9d59f91c34535c2b51feba75d9a46c7ff..cb80b42cedc97daa0840f0f2f08e0631a77998bb 100644 (file)
@@ -297,7 +297,7 @@ wxMDIChildFrame::wxMDIChildFrame()
 {
     m_menuBar = (wxMenuBar *) NULL;
     m_page = (GtkNotebookPage *) NULL;
-    m_isFrame = TRUE;
+    m_isFrame = FALSE;
 }
 
 wxMDIChildFrame::wxMDIChildFrame( wxMDIParentFrame *parent,
@@ -307,7 +307,7 @@ wxMDIChildFrame::wxMDIChildFrame( wxMDIParentFrame *parent,
 {
     m_menuBar = (wxMenuBar *) NULL;
     m_page = (GtkNotebookPage *) NULL;
-    m_isFrame = TRUE;
+    m_isFrame = FALSE;
     Create( parent, id, title, wxDefaultPosition, size, style, name );
 }