projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test program improvements (patch 927429)
[wxWidgets.git]
/
src
/
gtk
/
checkbox.cpp
diff --git
a/src/gtk/checkbox.cpp
b/src/gtk/checkbox.cpp
index a5316a29f22cc775e88cf9d817fbbd5c1ba345fa..2a7d0437bf6b44c4c240e42a8f7ca642c2b22e0f 100644
(file)
--- a/
src/gtk/checkbox.cpp
+++ b/
src/gtk/checkbox.cpp
@@
-121,8
+121,7
@@
bool wxCheckBox::Create(wxWindow *parent,
m_parent->DoAddChild( this );
PostCreation();
m_parent->DoAddChild( this );
PostCreation();
-
- SetFont( parent->GetFont() );
+ InheritAttributes();
wxSize size_best( DoGetBestSize() );
wxSize new_size( size );
wxSize size_best( DoGetBestSize() );
wxSize new_size( size );
@@
-133,9
+132,6
@@
bool wxCheckBox::Create(wxWindow *parent,
if ((new_size.x != size.x) || (new_size.y != size.y))
SetSize( new_size.x, new_size.y );
if ((new_size.x != size.x) || (new_size.y != size.y))
SetSize( new_size.x, new_size.y );
- SetBackgroundColour( parent->GetBackgroundColour() );
- SetForegroundColour( parent->GetForegroundColour() );
-
Show( TRUE );
return TRUE;
Show( TRUE );
return TRUE;