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:
@@ -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
|
||||||
|
@@ -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);
|
||||||
}
|
}
|
||||||
|
@@ -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);
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user