]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/panelg.cpp
Return optimal label width from DrawHeaderButton
[wxWidgets.git] / src / generic / panelg.cpp
index 454f5dc1d86537e33914c0f7276ba0cbcf9097f5..34c59bb52da38761e7f6dc4126ecd59fd9d9d0db 100644 (file)
     #include "wx/settings.h"
     #include "wx/log.h"
     #include "wx/panel.h"
+    #include "wx/containr.h"
 #endif
 
-#include "wx/containr.h"
-
 // ----------------------------------------------------------------------------
 // wxWin macros
 // ----------------------------------------------------------------------------
@@ -98,7 +97,7 @@ END_EVENT_TABLE()
 // implementation
 // ============================================================================
 
-WX_DELEGATE_TO_CONTROL_CONTAINER(wxPanel)
+WX_DELEGATE_TO_CONTROL_CONTAINER(wxPanel, wxWindow)
 
 // ----------------------------------------------------------------------------
 // wxPanel creation