From 03b444f6afb08ede0a50e3f68ef686337e1b380c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 31 May 2002 14:18:34 +0000 Subject: [PATCH] removed unused wxWindowGTK::m_isFrame git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gtk/window.h | 1 - include/wx/gtk1/window.h | 1 - src/gtk/mdi.cpp | 2 -- src/gtk/toplevel.cpp | 1 - src/gtk/window.cpp | 1 - src/gtk1/mdi.cpp | 2 -- src/gtk1/toplevel.cpp | 1 - src/gtk1/window.cpp | 1 - 8 files changed, 10 deletions(-) diff --git a/include/wx/gtk/window.h b/include/wx/gtk/window.h index 5917cf4384..bb882e7e7b 100644 --- a/include/wx/gtk/window.h +++ b/include/wx/gtk/window.h @@ -217,7 +217,6 @@ public: bool m_hasVMT:1; bool m_sizeSet:1; bool m_resizing:1; - bool m_isFrame:1; // faster than IS_KIND_OF bool m_acceptsFocus:1; // true if not static bool m_hasFocus:1; // true if == FindFocus() bool m_isScrolling:1; // dragging scrollbar thumb? diff --git a/include/wx/gtk1/window.h b/include/wx/gtk1/window.h index 5917cf4384..bb882e7e7b 100644 --- a/include/wx/gtk1/window.h +++ b/include/wx/gtk1/window.h @@ -217,7 +217,6 @@ public: bool m_hasVMT:1; bool m_sizeSet:1; bool m_resizing:1; - bool m_isFrame:1; // faster than IS_KIND_OF bool m_acceptsFocus:1; // true if not static bool m_hasFocus:1; // true if == FindFocus() bool m_isScrolling:1; // dragging scrollbar thumb? diff --git a/src/gtk/mdi.cpp b/src/gtk/mdi.cpp index fc8b911281..99bcb7ede4 100644 --- a/src/gtk/mdi.cpp +++ b/src/gtk/mdi.cpp @@ -297,7 +297,6 @@ wxMDIChildFrame::wxMDIChildFrame() { m_menuBar = (wxMenuBar *) NULL; m_page = (GtkNotebookPage *) NULL; - m_isFrame = FALSE; } wxMDIChildFrame::wxMDIChildFrame( wxMDIParentFrame *parent, @@ -307,7 +306,6 @@ wxMDIChildFrame::wxMDIChildFrame( wxMDIParentFrame *parent, { m_menuBar = (wxMenuBar *) NULL; m_page = (GtkNotebookPage *) NULL; - m_isFrame = FALSE; Create( parent, id, title, wxDefaultPosition, size, style, name ); } diff --git a/src/gtk/toplevel.cpp b/src/gtk/toplevel.cpp index 534759fca7..591e545e7c 100644 --- a/src/gtk/toplevel.cpp +++ b/src/gtk/toplevel.cpp @@ -298,7 +298,6 @@ void wxTopLevelWindowGTK::Init() m_miniTitle = 0; m_mainWidget = (GtkWidget*) NULL; m_insertInClientArea = TRUE; - m_isFrame = TRUE; m_isIconized = FALSE; m_fsIsShowing = FALSE; m_themeEnabled = TRUE; diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index de255ce944..06f976bcae 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -2263,7 +2263,6 @@ void wxWindowGTK::Init() m_insertCallback = (wxInsertChildFunction) NULL; - m_isFrame = FALSE; m_acceptsFocus = FALSE; m_hasFocus = FALSE; diff --git a/src/gtk1/mdi.cpp b/src/gtk1/mdi.cpp index fc8b911281..99bcb7ede4 100644 --- a/src/gtk1/mdi.cpp +++ b/src/gtk1/mdi.cpp @@ -297,7 +297,6 @@ wxMDIChildFrame::wxMDIChildFrame() { m_menuBar = (wxMenuBar *) NULL; m_page = (GtkNotebookPage *) NULL; - m_isFrame = FALSE; } wxMDIChildFrame::wxMDIChildFrame( wxMDIParentFrame *parent, @@ -307,7 +306,6 @@ wxMDIChildFrame::wxMDIChildFrame( wxMDIParentFrame *parent, { m_menuBar = (wxMenuBar *) NULL; m_page = (GtkNotebookPage *) NULL; - m_isFrame = FALSE; Create( parent, id, title, wxDefaultPosition, size, style, name ); } diff --git a/src/gtk1/toplevel.cpp b/src/gtk1/toplevel.cpp index 534759fca7..591e545e7c 100644 --- a/src/gtk1/toplevel.cpp +++ b/src/gtk1/toplevel.cpp @@ -298,7 +298,6 @@ void wxTopLevelWindowGTK::Init() m_miniTitle = 0; m_mainWidget = (GtkWidget*) NULL; m_insertInClientArea = TRUE; - m_isFrame = TRUE; m_isIconized = FALSE; m_fsIsShowing = FALSE; m_themeEnabled = TRUE; diff --git a/src/gtk1/window.cpp b/src/gtk1/window.cpp index de255ce944..06f976bcae 100644 --- a/src/gtk1/window.cpp +++ b/src/gtk1/window.cpp @@ -2263,7 +2263,6 @@ void wxWindowGTK::Init() m_insertCallback = (wxInsertChildFunction) NULL; - m_isFrame = FALSE; m_acceptsFocus = FALSE; m_hasFocus = FALSE; -- 2.45.2