projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve the registry query for whether to show combobox animation or not
[wxWidgets.git]
/
src
/
univ
/
radiobut.cpp
diff --git
a/src/univ/radiobut.cpp
b/src/univ/radiobut.cpp
index eb1d8a6dc81f8ab3db2bd2e8305a69ce4cb816c1..41958ea77957f440bcc332b6fb0e59d1b2caa737 100644
(file)
--- a/
src/univ/radiobut.cpp
+++ b/
src/univ/radiobut.cpp
@@
-1,5
+1,5
@@
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
-// Name: univ/radiobut.cpp
+// Name:
src/
univ/radiobut.cpp
// Purpose: wxRadioButton implementation
// Author: Vadim Zeitlin
// Modified by:
// Purpose: wxRadioButton implementation
// Author: Vadim Zeitlin
// Modified by:
@@
-17,10
+17,6
@@
// headers
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
- #pragma implementation "univradiobut.h"
-#endif
-
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#include "wx/wxprec.h"
#ifdef __BORLANDC__
@@
-29,9
+25,10
@@
#if wxUSE_RADIOBTN
#if wxUSE_RADIOBTN
+#include "wx/radiobut.h"
+
#ifndef WX_PRECOMP
#include "wx/dcclient.h"
#ifndef WX_PRECOMP
#include "wx/dcclient.h"
- #include "wx/radiobut.h"
#include "wx/validate.h"
#endif
#include "wx/validate.h"
#endif
@@
-62,10
+59,10
@@
bool wxRadioButton::Create(wxWindow *parent,
if ( !wxCheckBox::Create(parent, id, label, pos, size, style,
validator, name) )
{
if ( !wxCheckBox::Create(parent, id, label, pos, size, style,
validator, name) )
{
- return
FALSE
;
+ return
false
;
}
}
- return
TRUE
;
+ return
true
;
}
// ----------------------------------------------------------------------------
}
// ----------------------------------------------------------------------------
@@
-134,7
+131,7
@@
void wxRadioButton::ClearValue()
{
if ( IsChecked() )
{
{
if ( IsChecked() )
{
- SetValue(
FALSE
);
+ SetValue(
false
);
}
}
}
}
@@
-180,4
+177,3
@@
void wxRadioButton::DoDraw(wxControlRenderer *renderer)
}
#endif // wxUSE_RADIOBTN
}
#endif // wxUSE_RADIOBTN
-