]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_panel.cpp
Only call GetBestSize if one or both of the minsize components are unset.
[wxWidgets.git] / src / xrc / xh_panel.cpp
index 07653815f7e1d9b70076ee37e5d00f2ed5012494..b4b4c82810db9bfc0f4b6be3d6d46a866462825a 100644 (file)
@@ -21,7 +21,9 @@
 
 #include "wx/xrc/xh_panel.h"
 #include "wx/panel.h"
+#include "wx/frame.h"  // to get wxNO_3D
 
+IMPLEMENT_DYNAMIC_CLASS(wxPanelXmlHandler, wxXmlResourceHandler)
 
 wxPanelXmlHandler::wxPanelXmlHandler() : wxXmlResourceHandler()
 {