some clean up of the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -149,8 +149,10 @@ void wxButton::SetDefault(void)
|
||||
|
||||
if (parent)
|
||||
{
|
||||
SendMessage((HWND) parent->GetHWND(), DM_SETDEFID, m_windowId, 0L);
|
||||
SendMessage((HWND)parent->GetHWND(), DM_SETDEFID, m_windowId, 0L);
|
||||
}
|
||||
|
||||
SendMessage((HWND)GetHWND(), BM_SETSTYLE, BS_DEFPUSHBUTTON, 1L);
|
||||
}
|
||||
|
||||
wxString wxButton::GetLabel(void) const
|
||||
|
Reference in New Issue
Block a user