]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_panel.cpp
Do not allow events to fire after socket is closed (fixes crash on GTK with GDK_Input...
[wxWidgets.git] / src / xrc / xh_panel.cpp
index 035c6cade405db7af504f412ace846ea7071db40..3ac8987d57afc419fc7d0da9d70eba05de8e8f58 100644 (file)
@@ -8,10 +8,6 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
-#pragma implementation "xh_panel.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -19,7 +15,7 @@
     #pragma hdrstop
 #endif
 
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
 
 #include "wx/xrc/xh_panel.h"
 #include "wx/panel.h"
@@ -57,4 +53,4 @@ bool wxPanelXmlHandler::CanHandle(wxXmlNode *node)
     return IsOfClass(node, wxT("wxPanel"));
 }
 
-#endif // wxUSE_XML && wxUSE_XRC
+#endif // wxUSE_XRC