removed style parameter from MSWCreate(), it is unneeded

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-01-10 23:27:17 +00:00
parent 29020b9048
commit 6dd16e4f26
6 changed files with 40 additions and 60 deletions

View File

@@ -78,11 +78,10 @@ bool wxControl::Create(wxWindow *parent,
bool wxControl::MSWCreateControl(const wxChar *classname,
const wxString& label,
const wxPoint& pos,
const wxSize& size,
long style)
const wxSize& size)
{
WXDWORD exstyle;
WXDWORD msStyle = MSWGetStyle(style, &exstyle);
WXDWORD msStyle = MSWGetStyle(GetWindowStyle(), &exstyle);
return MSWCreateControl(classname, msStyle, pos, size, label, exstyle);
}