projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix the menu item bitmaps for wxMSW;
[wxWidgets.git]
/
src
/
univ
/
statbox.cpp
diff --git
a/src/univ/statbox.cpp
b/src/univ/statbox.cpp
index e1df45fb23429ef5caf0d13b7bb44e5a12f3c3c6..773f5422177d47d7f096a24aa7811ed3fba7b6f3 100644
(file)
--- a/
src/univ/statbox.cpp
+++ b/
src/univ/statbox.cpp
@@
-17,10
+17,6
@@
// headers
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma implementation "univstatbox.h"
-#endif
-
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#include "wx/wxprec.h"
#ifdef __BORLANDC__
@@
-55,12
+51,15
@@
bool wxStaticBox::Create(wxWindow *parent,
long style,
const wxString &name)
{
long style,
const wxString &name)
{
+ // FIXME refresh just the right/bottom parts affected in OnSize
+ style |= wxFULL_REPAINT_ON_RESIZE;
+
if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) )
if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) )
- return
FALSE
;
+ return
false
;
SetLabel(label);
SetLabel(label);
- return
TRUE
;
+ return
true
;
}
void wxStaticBox::DoDraw(wxControlRenderer *renderer)
}
void wxStaticBox::DoDraw(wxControlRenderer *renderer)