projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
redraw forced for size changes (layout for measuring is simpler than word-wrapping...
[wxWidgets.git]
/
src
/
mac
/
carbon
/
radiobut.cpp
diff --git
a/src/mac/carbon/radiobut.cpp
b/src/mac/carbon/radiobut.cpp
index 46014e45765ca13a3c14446ed58a56ccff26f18c..991c8be68f7d0ea0db3d04e12889f50b016be9c3 100644
(file)
--- a/
src/mac/carbon/radiobut.cpp
+++ b/
src/mac/carbon/radiobut.cpp
@@
-30,6
+30,9
@@
bool wxRadioButton::Create(wxWindow *parent, wxWindowID id,
const wxValidator& validator,
const wxString& name)
{
const wxValidator& validator,
const wxString& name)
{
+ if ( !wxControl::Create(parent, id, pos, size, style, validator, name) )
+ return false;
+
Rect bounds ;
Str255 title ;
Rect bounds ;
Str255 title ;
@@
-97,7
+100,7
@@
void wxRadioButton::Command (wxCommandEvent & event)
ProcessCommand (event);
}
ProcessCommand (event);
}
-void wxRadioButton::MacHandleControlClick( WXWidget control , wxInt16 controlpart )
+void wxRadioButton::MacHandleControlClick( WXWidget control , wxInt16 controlpart
, bool WXUNUSED(mouseStillDown)
)
{
if ( GetValue() )
return ;
{
if ( GetValue() )
return ;