]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/panelg.h
Last part from weak ref patch for event sink disconnection
[wxWidgets.git] / include / wx / generic / panelg.h
index ae5e74e8292dd1ed6b0a0e798d62c33c7ad7e473..b5d55538143d3b806bfdcfac9bb8df91299c03f9 100644 (file)
@@ -21,7 +21,7 @@
 
 class WXDLLIMPEXP_FWD_CORE wxControlContainer;
 
-extern WXDLLEXPORT_DATA(const wxChar) wxPanelNameStr[];
+extern WXDLLEXPORT_DATA(const char) wxPanelNameStr[];
 
 // ----------------------------------------------------------------------------
 // wxPanel contains other controls and implements TAB traversal between them
@@ -79,14 +79,15 @@ public:
     virtual bool IsCanvasWindow() const { return true; }
 #endif
 
-
     WX_DECLARE_CONTROL_CONTAINER();
 
 protected:
     // common part of all ctors
     void Init();
 
-private:
+    // choose the default border for this window
+    virtual wxBorder GetDefaultBorder() const { return wxWindowBase::GetDefaultBorder(); }
+
     DECLARE_DYNAMIC_CLASS_NO_COPY(wxPanel)
     DECLARE_EVENT_TABLE()
 };