]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dirdlg.h
use DeferWindowPos() instead of MoveWindow() if possible; always use WS_CLIPCHILDREN...
[wxWidgets.git] / include / wx / msw / dirdlg.h
index 8a6e53b4e4df65d1757ad917895e3a2a06d23ac8..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);
@@ -42,7 +42,7 @@ protected:
     wxString    m_path;
 
 private:
-    DECLARE_DYNAMIC_CLASS(wxDirDialog)
+    DECLARE_DYNAMIC_CLASS_NO_COPY(wxDirDialog)
 };
 
 #endif