m_clrData.SetChooseFull(true);
for (int i = 0; i < 16; i++)
{
- m_clrData.SetCustomColour(i, wxColour(i*16, i*16, i*16));
+ m_clrData.SetCustomColour(
+ i,
+ wxColour(
+ (unsigned char)(i*16),
+ (unsigned char)(i*16),
+ (unsigned char)(i*16)
+ )
+ );
}
#endif // wxUSE_COLOURDLG
data.SetChooseFull(true);
for (int i = 0; i < 16; i++)
{
- wxColour colour(i*16, i*16, i*16);
+ wxColour colour(
+ (unsigned char)(i*16),
+ (unsigned char)(i*16),
+ (unsigned char)(i*16)
+ );
data.SetCustomColour(i, colour);
}
{
public:
ButtonWidgetsPage(wxNotebook *notebook, wxImageList *imaglist);
- virtual ~ButtonWidgetsPage();
+ virtual ~ButtonWidgetsPage(){};
protected:
// event handlers
sizerTop->Fit(this);
}
-ButtonWidgetsPage::~ButtonWidgetsPage()
-{
-}
-
// ----------------------------------------------------------------------------
// operations
// ----------------------------------------------------------------------------
{
public:
CheckBoxWidgetsPage(wxNotebook *notebook, wxImageList *imaglist);
- virtual ~CheckBoxWidgetsPage();
+ virtual ~CheckBoxWidgetsPage(){};
protected:
// event handlers
sizerTop->Fit(this);
}
-CheckBoxWidgetsPage::~CheckBoxWidgetsPage()
-{
-}
-
void CheckBoxWidgetsPage::Reset()
{
m_chkRight->SetValue(false);
{
public:
RadioWidgetsPage(wxNotebook *notebook, wxImageList *imaglist);
- virtual ~RadioWidgetsPage();
+ virtual ~RadioWidgetsPage(){};
protected:
// event handlers
sizerTop->Fit(this);
}
-RadioWidgetsPage::~RadioWidgetsPage()
-{
-}
-
// ----------------------------------------------------------------------------
// operations
// ----------------------------------------------------------------------------
{
public:
SliderWidgetsPage(wxNotebook *notebook, wxImageList *imaglist);
- virtual ~SliderWidgetsPage();
+ virtual ~SliderWidgetsPage(){};
protected:
// event handlers
sizerTop->Fit(this);
}
-SliderWidgetsPage::~SliderWidgetsPage()
-{
-}
-
// ----------------------------------------------------------------------------
// operations
// ----------------------------------------------------------------------------
{
public:
SpinBtnWidgetsPage(wxNotebook *notebook, wxImageList *imaglist);
- virtual ~SpinBtnWidgetsPage();
+ virtual ~SpinBtnWidgetsPage(){};
protected:
// event handlers
sizerTop->Fit(this);
}
-SpinBtnWidgetsPage::~SpinBtnWidgetsPage()
-{
-}
-
// ----------------------------------------------------------------------------
// operations
// ----------------------------------------------------------------------------
{
public:
StaticWidgetsPage(wxNotebook *notebook, wxImageList *imaglist);
- virtual ~StaticWidgetsPage();
+ virtual ~StaticWidgetsPage(){};
protected:
// event handlers
sizerTop->Fit(this);
}
-StaticWidgetsPage::~StaticWidgetsPage()
-{
-}
-
// ----------------------------------------------------------------------------
// operations
// ----------------------------------------------------------------------------
public:
// ctor(s) and dtor
TextWidgetsPage(wxNotebook *notebook, wxImageList *imaglist);
- virtual ~TextWidgetsPage();
+ virtual ~TextWidgetsPage(){};
protected:
// create an info text contorl
sizerTop->Fit(this);
}
-TextWidgetsPage::~TextWidgetsPage()
-{
-}
-
// ----------------------------------------------------------------------------
// creation helpers
// ----------------------------------------------------------------------------