X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e17bc3f7333addb73a2ba6fee52d19d47d77360..fe8635a7e78715344f0f4b6abc9d797931429333:/include/wx/mac/carbon/drawer.h diff --git a/include/wx/mac/carbon/drawer.h b/include/wx/mac/carbon/drawer.h index 11fe42594c..95ca484463 100644 --- a/include/wx/mac/carbon/drawer.h +++ b/include/wx/mac/carbon/drawer.h @@ -15,12 +15,14 @@ #ifndef _WX_DRAWERWINDOW_H_ #define _WX_DRAWERWINDOW_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "drawer.h" -#endif - #include "wx/toplevel.h" +// +// NB: This is currently a private undocumented class - +// it is stable, but the API is not and will change in the +// near future +// + #if ( MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_2 ) class WXDLLEXPORT wxDrawerWindow : public wxTopLevelWindow @@ -36,12 +38,12 @@ public: const wxString& title, wxSize size = wxDefaultSize, wxDirection edge = wxLEFT, - const wxString& name = "drawerwindow") + const wxString& name = wxT("drawerwindow")) { this->Create(parent, id, title, size, edge, name); } - ~wxDrawerWindow(); + virtual ~wxDrawerWindow(); // Create a drawer window. // If parent is NULL, create as a tool window.