]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/fdrepdlg.h
add a critical section protecting ms_prev variables (replaces patch 1819224)
[wxWidgets.git] / include / wx / msw / fdrepdlg.h
index 1a8c1ee3578457b771afb08a827ad2dab01e2ca5..f7874715e44d57741deea685426a96ca49dbee1c 100644 (file)
@@ -9,9 +9,8 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma interface "mswfdrepdlg.h"
-#endif
+#ifndef _WX_MSW_FDREPDLG_H_
+#define _WX_MSW_FDREPDLG_H_
 
 // ----------------------------------------------------------------------------
 // wxFindReplaceDialog: dialog for searching / replacing text
@@ -39,7 +38,7 @@ public:
     wxFindReplaceDialogImpl *GetImpl() const { return m_impl; }
 
     // override some base class virtuals
-    virtual bool Show(bool show = TRUE);
+    virtual bool Show(bool show = true);
     virtual void SetTitle( const wxString& title);
     virtual wxString GetTitle() const;
 
@@ -60,4 +59,4 @@ protected:
     DECLARE_NO_COPY_CLASS(wxFindReplaceDialog)
 };
 
-
+#endif // _WX_MSW_FDREPDLG_H_