]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/fdrepdlg.h
Cast for argument to delete[] - VC6 doesn't want to delete a const pointer
[wxWidgets.git] / include / wx / msw / fdrepdlg.h
index 903404224c05d7726ed98f3d309a39a5212036bd..d7718de05874f3df58f3cf525c0788180322b68c 100644 (file)
@@ -2,22 +2,21 @@
 // Name:        wx/msw/fdrepdlg.h
 // Purpose:     wxFindReplaceDialog class
 // Author:      Markus Greither
-// Modified by: 31.07.01: VZ: integrated into wxWindows
+// Modified by: 31.07.01: VZ: integrated into wxWidgets
 // Created:     23/03/2001
 // RCS-ID:
 // Copyright:   (c) Markus Greither
 // 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
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFindReplaceDialog : public wxFindReplaceDialogBase
+class WXDLLIMPEXP_CORE wxFindReplaceDialog : public wxFindReplaceDialogBase
 {
 public:
     // ctors and such
@@ -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_