]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/helpdlg.cpp
remove MSVC warnings about DLL-exported class inheriting from non DLL-exported one...
[wxWidgets.git] / src / html / helpdlg.cpp
index 8af3d252e013ef8e4168d8575969294a93580826..31bfa9352b6581e09274508f9222db4517401721 100644 (file)
@@ -18,7 +18,7 @@
 
 #if wxUSE_WXHTML_HELP
 
-#ifndef WXPRECOMP
+#ifndef WX_PRECOMP
     #include "wx/object.h"
     #include "wx/intl.h"
     #include "wx/log.h"
     #include "wx/statbox.h"
     #include "wx/radiobox.h"
     #include "wx/menu.h"
-#endif // WXPRECOMP
-
-#ifdef __WXMAC__
     #include "wx/msgdlg.h"
-#endif
+#endif // WX_PRECOMP
 
 #include "wx/html/htmlwin.h"
 #include "wx/html/helpdlg.h"
@@ -91,7 +88,7 @@ bool wxHtmlHelpDialog::Create(wxWindow* parent, wxWindowID id,
 
     item4->Add(5, 5, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5);
 
-    wxButton* item6 = new wxButton(item1, wxID_OK, _("&Close"), wxDefaultPosition, wxDefaultSize, 0);
+    wxButton* item6 = new wxButton(item1, wxID_OK, _("Close"), wxDefaultPosition, wxDefaultSize, 0);
     item4->Add(item6, 0, wxALIGN_CENTER_VERTICAL|wxALL, 10);
 #ifdef __WXMAC__
     // Add some space for the resize handle