projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed unneeded #include dib.h
[wxWidgets.git]
/
src
/
msw
/
statline.cpp
diff --git
a/src/msw/statline.cpp
b/src/msw/statline.cpp
index 7535fee4c4d71d7c00372015379be35efa2972b9..29ee6373e1290d4ada05647bca5a7fe89ce2d79d 100644
(file)
--- a/
src/msw/statline.cpp
+++ b/
src/msw/statline.cpp
@@
-64,11
+64,15
@@
bool wxStaticLine::Create(wxWindow *parent,
if ( !CreateControl(parent, id, pos, size, style, wxDefaultValidator, name) )
return FALSE;
if ( !CreateControl(parent, id, pos, size, style, wxDefaultValidator, name) )
return FALSE;
- return MSWCreateControl(_T("STATIC"), _T(""), pos, size
, style
);
+ return MSWCreateControl(_T("STATIC"), _T(""), pos, size);
}
WXDWORD wxStaticLine::MSWGetStyle(long style, WXDWORD *exstyle) const
{
}
WXDWORD wxStaticLine::MSWGetStyle(long style, WXDWORD *exstyle) const
{
+ // we never have border
+ style &= ~wxBORDER_MASK;
+ style |= wxBORDER_NONE;
+
WXDWORD msStyle = wxControl::MSWGetStyle(style, exstyle);
// add our default styles
WXDWORD msStyle = wxControl::MSWGetStyle(style, exstyle);
// add our default styles