]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/textdlgg.h
Added CanApplyParentThemeBackground and use it in wxMSW's
[wxWidgets.git] / include / wx / generic / textdlgg.h
index d6f29e986c08e68d2c8f987ef74ade4ca3e533c6..876389d0e7e5c02a92a2a315f479e69448e12814 100644 (file)
@@ -1,6 +1,6 @@
 /////////////////////////////////////////////////////////////////////////////
 // Name:        textdlgg.h
-// Purpose:     wxStatusBar class
+// Purpose:     wxTextEntryDialog class
 // Author:      Julian Smart
 // Modified by:
 // Created:     01/02/97
 #ifndef __TEXTDLGH_G__
 #define __TEXTDLGH_G__
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "textdlgg.h"
 #endif
 
+#if wxUSE_TEXTDLG
 #include "wx/defs.h"
 
 #include "wx/dialog.h"
@@ -27,7 +28,6 @@
 class WXDLLEXPORT wxTextCtrl;
 
 WXDLLEXPORT_DATA(extern const wxChar*) wxGetTextFromUserPromptStr;
-WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString;
 
 #define wxTextEntryDialogStyle (wxOK | wxCANCEL | wxCENTRE | wxWS_EX_VALIDATE_RECURSIVELY)
 
@@ -88,5 +88,7 @@ wxGetPasswordFromUser(const wxString& message,
                       const wxString& default_value = wxEmptyString,
                       wxWindow *parent = (wxWindow *) NULL);
 
+#endif
+    // wxUSE_TEXTDLG
 #endif
     // __TEXTDLGH_G__