]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_dlg.cpp
fixed memory leaks in case of errors during file load in wxSound::Create() (coverity...
[wxWidgets.git] / src / xrc / xh_dlg.cpp
index 4cab7111876ae9bde9fa49005e49da7f1ef045d5..6ebcbaec641229b4381372bb4faea0c51a31e9cf 100644 (file)
@@ -8,10 +8,6 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "xh_dlg.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -50,6 +46,7 @@ wxDialogXmlHandler::wxDialogXmlHandler() : wxXmlResourceHandler()
     XRC_ADD_STYLE(wxMAXIMIZE_BOX);
     XRC_ADD_STYLE(wxMINIMIZE_BOX);
     XRC_ADD_STYLE(wxFRAME_SHAPED);
+    XRC_ADD_STYLE(wxDIALOG_EX_CONTEXTHELP);
 
     AddWindowStyles();
 }