]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dirdlg.h
Use the correct WXDLLEXPORT declaration.
[wxWidgets.git] / include / wx / msw / dirdlg.h
index ad213bdacd0c5d69fa01047a3592156153050cae..0c44bfb51ec23d0fb8636ce5ebb738be43735475 100644 (file)
@@ -6,13 +6,13 @@
 // Created:     01/02/97
 // RCS-ID:      $Id$
 // Copyright:   (c) Julian Smart
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_DIRDLG_H_
 #define _WX_DIRDLG_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "dirdlg.h"
 #endif
 
@@ -22,7 +22,7 @@ public:
     wxDirDialog(wxWindow *parent,
                 const wxString& message = wxDirSelectorPromptStr,
                 const wxString& defaultPath = wxEmptyString,
-                long style = 0,
+                long style = wxDD_DEFAULT_STYLE,
                 const wxPoint& pos = wxDefaultPosition,
                 const wxSize& size = wxDefaultSize,
                 const wxString& name = wxDirDialogNameStr);