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:
Václav Slavík 2004-08-15 19:37:49 +00:00
parent c20889abf8
commit 9dc579b3c5
8 changed files with 4 additions and 6 deletions

View File

@ -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);

View File

@ -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();
}

View File

@ -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();
}

View File

@ -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);

View File

@ -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);

View File

@ -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();
}

View File

@ -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();
}

View File

@ -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);