]> git.saurik.com Git - wxWidgets.git/commitdiff
make access for virtuals match base
authorPaul Cornett <paulcor@bullseye.com>
Thu, 20 Dec 2007 06:08:00 +0000 (06:08 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Thu, 20 Dec 2007 06:08:00 +0000 (06:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/dataview.h
include/wx/statbox.h

index 1cb8787e83bff87a6d6910150e8be4e12ba9d44e..293ff6e141c08bb79160fd4985b975f69c5314e0 100644 (file)
@@ -7,13 +7,10 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifndef __GTKDATAVIEWCTRLH__
-#define __GTKDATAVIEWCTRLH__
+#ifndef _WX_GTKDATAVIEWCTRL_H_
+#define _WX_GTKDATAVIEWCTRL_H_
 
-#include "wx/defs.h"
-#include "wx/object.h"
 #include "wx/list.h"
-#include "wx/control.h"
 
 // --------------------------------------------------------- 
 // classes
@@ -409,6 +406,8 @@ public:
     GtkWidget *GtkGetTreeView() { return m_treeview; }
     wxDataViewCtrlInternal* GtkGetInternal() { return m_internal; }
 
+    virtual void OnInternalIdle();
+
 protected:
     virtual void DoSetExpanderColumn();
     virtual void DoSetIndent();
@@ -424,16 +423,12 @@ private:
     wxDataViewCtrlInternal  *m_internal;
     wxDataViewColumnList     m_cols;
 
-    
-    virtual void OnInternalIdle();
-    
     void GtkEnableSelectionEvents();
     void GtkDisableSelectionEvents();
     
-private:
     DECLARE_DYNAMIC_CLASS(wxDataViewCtrl)
     DECLARE_NO_COPY_CLASS(wxDataViewCtrl)
 };
 
 
-#endif // __GTKDATAVIEWCTRLH__
+#endif // _WX_GTKDATAVIEWCTRL_H_
index 7eee31685e5865e01c88ca1b31a2afd9a20ea0de..873e5d15e533707c5d80cbbfdb8996ad4f1f26be 100644 (file)
@@ -46,7 +46,7 @@ public:
         *borderOther = BORDER;
     }
 
-private:
+protected:
     // choose the default border for this window
     virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }