X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/63ec432bd7b9c93961e85e871bcb31758364a634..80da12bc09a3270151b672383600860e17753cb2:/include/wx/generic/panelg.h?ds=sidebyside diff --git a/include/wx/generic/panelg.h b/include/wx/generic/panelg.h index 1cb6a708ec..cbda3af503 100644 --- a/include/wx/generic/panelg.h +++ b/include/wx/generic/panelg.h @@ -19,7 +19,7 @@ #include "wx/window.h" #include "wx/containr.h" -class WXDLLEXPORT wxControlContainer; +class WXDLLIMPEXP_FWD_CORE wxControlContainer; extern WXDLLEXPORT_DATA(const wxChar) wxPanelNameStr[]; @@ -58,7 +58,8 @@ public: } // Pseudo ctor - bool Create(wxWindow *parent, wxWindowID winid, + bool Create(wxWindow *parent, + wxWindowID winid = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL | wxNO_BORDER, @@ -78,6 +79,8 @@ public: virtual bool IsCanvasWindow() const { return true; } #endif + // choose the default border for this window + virtual wxBorder GetDefaultBorder() const { return wxWindowBase::GetDefaultBorder(); } WX_DECLARE_CONTROL_CONTAINER();