]> git.saurik.com Git - wxWidgets.git/commitdiff
wxTOPLEVEL_EX_DIALOG is a better name than wxTLW_EX_DIALOG
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 22 Sep 2001 22:39:03 +0000 (22:39 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 22 Sep 2001 22:39:03 +0000 (22:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/toplevel.h
src/gtk/dialog.cpp
src/gtk1/dialog.cpp
src/univ/dialog.cpp

index bf5fe88226a4fc64beec88a614403d477605595a..157ff3f0f390104c3fe075b8b567623a437ce47e 100644 (file)
@@ -31,7 +31,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxFrameNameStr;
 class WXDLLEXPORT wxTopLevelWindowBase;
 
 // Dialogs are created in a special way
-#define wxTLW_EX_DIALOG             0x00000008
+#define wxTOPLEVEL_EX_DIALOG        0x00000008
 
 // Styles for ShowFullScreen
 // (note that wxTopLevelWindow only handles wxFULLSCREEN_NOBORDER and
index 1b206e4a2d028cd5f5a782394095c6b68a90f21b..445afaf5ae642e7d902faa027e7243db3b57c59d 100644 (file)
@@ -71,7 +71,7 @@ bool wxDialog::Create( wxWindow *parent,
                        const wxPoint &pos, const wxSize &size,
                        long style, const wxString &name )
 {
-    SetExtraStyle(GetExtraStyle() | wxTLW_EX_DIALOG);
+    SetExtraStyle(GetExtraStyle() | wxTOPLEVEL_EX_DIALOG);
 
     return wxTopLevelWindow::Create(parent, id, title, pos, size, style, name);
 }
index 1b206e4a2d028cd5f5a782394095c6b68a90f21b..445afaf5ae642e7d902faa027e7243db3b57c59d 100644 (file)
@@ -71,7 +71,7 @@ bool wxDialog::Create( wxWindow *parent,
                        const wxPoint &pos, const wxSize &size,
                        long style, const wxString &name )
 {
-    SetExtraStyle(GetExtraStyle() | wxTLW_EX_DIALOG);
+    SetExtraStyle(GetExtraStyle() | wxTOPLEVEL_EX_DIALOG);
 
     return wxTopLevelWindow::Create(parent, id, title, pos, size, style, name);
 }
index 6a29dbf93d7a6395f273811a40fa8e78a35fa55b..dfb4a5b279c055bb960093e26a043950a496a610 100644 (file)
@@ -46,7 +46,7 @@ bool wxDialog::Create(wxWindow *parent,
                       const wxPoint &pos, const wxSize &size,
                       long style, const wxString &name)
 {
-    SetExtraStyle(GetExtraStyle() | wxTLW_EX_DIALOG);
+    SetExtraStyle(GetExtraStyle() | wxTOPLEVEL_EX_DIALOG);
 
     // all dialogs should have tab traversal enabled
     style |= wxTAB_TRAVERSAL;