wxBORDER_THEME processing for Motif and X11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -230,6 +230,11 @@ bool wxWindow::Create(wxWindow *parent, wxWindowID id,
|
||||
long style,
|
||||
const wxString& name)
|
||||
{
|
||||
// Get default border
|
||||
wxBorder border = GetBorder(style);
|
||||
style &= ~wxBORDER_MASK;
|
||||
style |= border;
|
||||
|
||||
wxCHECK_MSG( parent, false, "can't create wxWindow without parent" );
|
||||
|
||||
CreateBase(parent, id, pos, size, style, wxDefaultValidator, name);
|
||||
|
Reference in New Issue
Block a user