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
This commit is contained in:
Václav Slavík
2001-09-22 22:39:03 +00:00
parent f819b4a3ab
commit 21f4383ae7
4 changed files with 4 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxFrameNameStr;
class WXDLLEXPORT wxTopLevelWindowBase; class WXDLLEXPORT wxTopLevelWindowBase;
// Dialogs are created in a special way // Dialogs are created in a special way
#define wxTLW_EX_DIALOG 0x00000008 #define wxTOPLEVEL_EX_DIALOG 0x00000008
// Styles for ShowFullScreen // Styles for ShowFullScreen
// (note that wxTopLevelWindow only handles wxFULLSCREEN_NOBORDER and // (note that wxTopLevelWindow only handles wxFULLSCREEN_NOBORDER and

View File

@@ -71,7 +71,7 @@ bool wxDialog::Create( wxWindow *parent,
const wxPoint &pos, const wxSize &size, const wxPoint &pos, const wxSize &size,
long style, const wxString &name ) 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); return wxTopLevelWindow::Create(parent, id, title, pos, size, style, name);
} }

View File

@@ -71,7 +71,7 @@ bool wxDialog::Create( wxWindow *parent,
const wxPoint &pos, const wxSize &size, const wxPoint &pos, const wxSize &size,
long style, const wxString &name ) 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); return wxTopLevelWindow::Create(parent, id, title, pos, size, style, name);
} }

View File

@@ -46,7 +46,7 @@ bool wxDialog::Create(wxWindow *parent,
const wxPoint &pos, const wxSize &size, const wxPoint &pos, const wxSize &size,
long style, const wxString &name) long style, const wxString &name)
{ {
SetExtraStyle(GetExtraStyle() | wxTLW_EX_DIALOG); SetExtraStyle(GetExtraStyle() | wxTOPLEVEL_EX_DIALOG);
// all dialogs should have tab traversal enabled // all dialogs should have tab traversal enabled
style |= wxTAB_TRAVERSAL; style |= wxTAB_TRAVERSAL;