all windows can use wxCLIP_CHILDREN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c20889abf8
commit
9dc579b3c5
@ -43,7 +43,6 @@ wxDialogXmlHandler::wxDialogXmlHandler() : wxXmlResourceHandler()
|
||||
XRC_ADD_STYLE(wxNO_3D);
|
||||
XRC_ADD_STYLE(wxTAB_TRAVERSAL);
|
||||
XRC_ADD_STYLE(wxWS_EX_VALIDATE_RECURSIVELY);
|
||||
XRC_ADD_STYLE(wxCLIP_CHILDREN);
|
||||
XRC_ADD_STYLE(wxMAXIMIZE_BOX);
|
||||
XRC_ADD_STYLE(wxMINIMIZE_BOX);
|
||||
|
||||
|
@ -50,7 +50,6 @@ wxFrameXmlHandler::wxFrameXmlHandler() : wxXmlResourceHandler()
|
||||
XRC_ADD_STYLE(wxNO_3D);
|
||||
XRC_ADD_STYLE(wxTAB_TRAVERSAL);
|
||||
XRC_ADD_STYLE(wxWS_EX_VALIDATE_RECURSIVELY);
|
||||
XRC_ADD_STYLE(wxCLIP_CHILDREN);
|
||||
|
||||
AddWindowStyles();
|
||||
}
|
||||
|
@ -30,7 +30,7 @@ wxPanelXmlHandler::wxPanelXmlHandler() : wxXmlResourceHandler()
|
||||
XRC_ADD_STYLE(wxNO_3D);
|
||||
XRC_ADD_STYLE(wxTAB_TRAVERSAL);
|
||||
XRC_ADD_STYLE(wxWS_EX_VALIDATE_RECURSIVELY);
|
||||
XRC_ADD_STYLE(wxCLIP_CHILDREN);
|
||||
|
||||
AddWindowStyles();
|
||||
}
|
||||
|
||||
|
@ -713,6 +713,7 @@ void wxXmlResourceHandler::AddStyle(const wxString& name, int value)
|
||||
|
||||
void wxXmlResourceHandler::AddWindowStyles()
|
||||
{
|
||||
XRC_ADD_STYLE(wxCLIP_CHILDREN);
|
||||
XRC_ADD_STYLE(wxSIMPLE_BORDER);
|
||||
XRC_ADD_STYLE(wxSUNKEN_BORDER);
|
||||
XRC_ADD_STYLE(wxDOUBLE_BORDER);
|
||||
|
@ -43,7 +43,6 @@ wxDialogXmlHandler::wxDialogXmlHandler() : wxXmlResourceHandler()
|
||||
XRC_ADD_STYLE(wxNO_3D);
|
||||
XRC_ADD_STYLE(wxTAB_TRAVERSAL);
|
||||
XRC_ADD_STYLE(wxWS_EX_VALIDATE_RECURSIVELY);
|
||||
XRC_ADD_STYLE(wxCLIP_CHILDREN);
|
||||
XRC_ADD_STYLE(wxMAXIMIZE_BOX);
|
||||
XRC_ADD_STYLE(wxMINIMIZE_BOX);
|
||||
|
||||
|
@ -50,7 +50,6 @@ wxFrameXmlHandler::wxFrameXmlHandler() : wxXmlResourceHandler()
|
||||
XRC_ADD_STYLE(wxNO_3D);
|
||||
XRC_ADD_STYLE(wxTAB_TRAVERSAL);
|
||||
XRC_ADD_STYLE(wxWS_EX_VALIDATE_RECURSIVELY);
|
||||
XRC_ADD_STYLE(wxCLIP_CHILDREN);
|
||||
|
||||
AddWindowStyles();
|
||||
}
|
||||
|
@ -30,7 +30,7 @@ wxPanelXmlHandler::wxPanelXmlHandler() : wxXmlResourceHandler()
|
||||
XRC_ADD_STYLE(wxNO_3D);
|
||||
XRC_ADD_STYLE(wxTAB_TRAVERSAL);
|
||||
XRC_ADD_STYLE(wxWS_EX_VALIDATE_RECURSIVELY);
|
||||
XRC_ADD_STYLE(wxCLIP_CHILDREN);
|
||||
|
||||
AddWindowStyles();
|
||||
}
|
||||
|
||||
|
@ -713,6 +713,7 @@ void wxXmlResourceHandler::AddStyle(const wxString& name, int value)
|
||||
|
||||
void wxXmlResourceHandler::AddWindowStyles()
|
||||
{
|
||||
XRC_ADD_STYLE(wxCLIP_CHILDREN);
|
||||
XRC_ADD_STYLE(wxSIMPLE_BORDER);
|
||||
XRC_ADD_STYLE(wxSUNKEN_BORDER);
|
||||
XRC_ADD_STYLE(wxDOUBLE_BORDER);
|
||||
|
Loading…
Reference in New Issue
Block a user