From: Václav Slavík Date: Sat, 22 Sep 2001 22:39:03 +0000 (+0000) Subject: wxTOPLEVEL_EX_DIALOG is a better name than wxTLW_EX_DIALOG X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/21f4383ae7aa404e3d4ddb8f67d2705c54338e44 wxTOPLEVEL_EX_DIALOG is a better name than wxTLW_EX_DIALOG git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/toplevel.h b/include/wx/toplevel.h index bf5fe88226..157ff3f0f3 100644 --- a/include/wx/toplevel.h +++ b/include/wx/toplevel.h @@ -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 diff --git a/src/gtk/dialog.cpp b/src/gtk/dialog.cpp index 1b206e4a2d..445afaf5ae 100644 --- a/src/gtk/dialog.cpp +++ b/src/gtk/dialog.cpp @@ -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); } diff --git a/src/gtk1/dialog.cpp b/src/gtk1/dialog.cpp index 1b206e4a2d..445afaf5ae 100644 --- a/src/gtk1/dialog.cpp +++ b/src/gtk1/dialog.cpp @@ -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); } diff --git a/src/univ/dialog.cpp b/src/univ/dialog.cpp index 6a29dbf93d..dfb4a5b279 100644 --- a/src/univ/dialog.cpp +++ b/src/univ/dialog.cpp @@ -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;