projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed FAQs: they are already available in the website; there's no reason to duplica...
[wxWidgets.git]
/
src
/
mac
/
carbon
/
checkbox.cpp
diff --git
a/src/mac/carbon/checkbox.cpp
b/src/mac/carbon/checkbox.cpp
index c914add38baa45e1cba6b04de7a06e03d23ea05f..982869b0aa036aeb7fea21f34bb419859da332ec 100644
(file)
--- a/
src/mac/carbon/checkbox.cpp
+++ b/
src/mac/carbon/checkbox.cpp
@@
-36,7
+36,7
@@
bool wxCheckBox::Create(wxWindow *parent,
if ( !wxCheckBoxBase::Create(parent, id, pos, size, style, validator, name) )
return false;
if ( !wxCheckBoxBase::Create(parent, id, pos, size, style, validator, name) )
return false;
- m_label = label ;
+ m_label
Orig = m_label
= label ;
SInt32 maxValue = 1 /* kControlCheckboxCheckedValue */;
if (style & wxCHK_3STATE)
SInt32 maxValue = 1 /* kControlCheckboxCheckedValue */;
if (style & wxCHK_3STATE)
@@
-132,15
+132,17
@@
wxInt32 wxCheckBox::MacControlHit( WXEVENTHANDLERREF WXUNUSED(handler) , WXEVENT
// Bitmap checkbox
bool wxBitmapCheckBox::Create(wxWindow *parent,
wxWindowID id,
// Bitmap checkbox
bool wxBitmapCheckBox::Create(wxWindow *parent,
wxWindowID id,
- const wxBitmap *
label
,
- const wxPoint&
pos
,
- const wxSize&
size
,
+ const wxBitmap *
WXUNUSED(label)
,
+ const wxPoint&
WXUNUSED(pos)
,
+ const wxSize&
WXUNUSED(size)
,
long style,
long style,
- const wxValidator&
validator
,
+ const wxValidator&
wxVALIDATOR_PARAM(validator)
,
const wxString& name)
{
SetName(name);
const wxString& name)
{
SetName(name);
+#if wxUSE_VALIDATORS
SetValidator(validator);
SetValidator(validator);
+#endif
m_windowStyle = style;
if (parent)
m_windowStyle = style;
if (parent)
@@
-156,7
+158,7
@@
bool wxBitmapCheckBox::Create(wxWindow *parent,
return false;
}
return false;
}
-void wxBitmapCheckBox::SetLabel(const wxBitmap *
bitmap
)
+void wxBitmapCheckBox::SetLabel(const wxBitmap *
WXUNUSED(bitmap)
)
{
// TODO
wxFAIL_MSG(wxT("wxBitmapCheckBox::SetLabel() not yet implemented"));
{
// TODO
wxFAIL_MSG(wxT("wxBitmapCheckBox::SetLabel() not yet implemented"));
@@
-167,7
+169,7
@@
void wxBitmapCheckBox::SetSize(int x, int y, int width, int height, int sizeFlag
wxControl::SetSize( x , y , width , height , sizeFlags ) ;
}
wxControl::SetSize( x , y , width , height , sizeFlags ) ;
}
-void wxBitmapCheckBox::SetValue(bool
val
)
+void wxBitmapCheckBox::SetValue(bool
WXUNUSED(val)
)
{
// TODO
wxFAIL_MSG(wxT("wxBitmapCheckBox::SetValue() not yet implemented"));
{
// TODO
wxFAIL_MSG(wxT("wxBitmapCheckBox::SetValue() not yet implemented"));