Lots of updates fixing radiobox processing, checkboxes and add notebook control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -29,6 +29,10 @@
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl)
|
||||
|
||||
extern void wxAssociateWinWithHandle( HWND hWnd
|
||||
,wxWindowOS2* pWin
|
||||
);
|
||||
|
||||
void wxRadioButton::Init()
|
||||
{
|
||||
m_bFocusJustSet = FALSE;
|
||||
@@ -82,21 +86,16 @@ bool wxRadioButton::Create(
|
||||
))
|
||||
return FALSE;
|
||||
|
||||
wxAssociateWinWithHandle(m_hWnd, this);
|
||||
if (HasFlag(wxRB_GROUP))
|
||||
SetValue(TRUE);
|
||||
|
||||
wxFont* pTextFont = new wxFont( 10
|
||||
,wxMODERN
|
||||
,wxNORMAL
|
||||
,wxNORMAL
|
||||
);
|
||||
SetFont(*pTextFont);
|
||||
SetFont(*wxSMALL_FONT);
|
||||
SetSize( rPos.x
|
||||
,rPos.y
|
||||
,rSize.x
|
||||
,rSize.y
|
||||
);
|
||||
delete pTextFont;
|
||||
return TRUE;
|
||||
} // end of wxRadioButton::Create
|
||||
|
||||
|
Reference in New Issue
Block a user