projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
direct stream use
[wxWidgets.git]
/
src
/
msw
/
checkbox.cpp
diff --git
a/src/msw/checkbox.cpp
b/src/msw/checkbox.cpp
index 3d6baa551f109967bfa5a2b1ccd09c1e17faba1c..436706ad411bd95674c95956fed6823453b547b7 100644
(file)
--- a/
src/msw/checkbox.cpp
+++ b/
src/msw/checkbox.cpp
@@
-118,7
+118,7
@@
void wxCheckBox::SetLabel(const wxString& label)
SetWindowText((HWND)GetHWND(), label);
}
SetWindowText((HWND)GetHWND(), label);
}
-void wxCheckBox::SetSize(int x, int y, int width, int height, int sizeFlags)
+void wxCheckBox::
Do
SetSize(int x, int y, int width, int height, int sizeFlags)
{
int currentX, currentY;
GetPosition(¤tX, ¤tY);
{
int currentX, currentY;
GetPosition(¤tX, ¤tY);
@@
-174,7
+174,7
@@
void wxCheckBox::SetValue(bool val)
#define BST_CHECKED 0x0001
#endif
#define BST_CHECKED 0x0001
#endif
-bool wxCheckBox::GetValue(
void
) const
+bool wxCheckBox::GetValue() const
{
#ifdef __WIN32__
return (SendMessage((HWND) GetHWND(), BM_GETCHECK, 0, 0) == BST_CHECKED);
{
#ifdef __WIN32__
return (SendMessage((HWND) GetHWND(), BM_GETCHECK, 0, 0) == BST_CHECKED);
@@
-271,11
+271,11
@@
bool wxBitmapCheckBox::Create(wxWindow *parent, wxWindowID id, const wxBitmap *l
return TRUE;
}
return TRUE;
}
-void wxBitmapCheckBox::SetLabel(const wxBitmap
*
bitmap)
+void wxBitmapCheckBox::SetLabel(const wxBitmap
&
bitmap)
{
}
{
}
-void wxBitmapCheckBox::SetSize(int x, int y, int width, int height, int sizeFlags)
+void wxBitmapCheckBox::
Do
SetSize(int x, int y, int width, int height, int sizeFlags)
{
int currentX, currentY;
GetPosition(¤tX, ¤tY);
{
int currentX, currentY;
GetPosition(¤tX, ¤tY);
@@
-307,7
+307,7
@@
void wxBitmapCheckBox::SetValue(bool val)
SendMessage((HWND) GetHWND(), BM_SETCHECK, val, 0);
}
SendMessage((HWND) GetHWND(), BM_SETCHECK, val, 0);
}
-bool wxBitmapCheckBox::GetValue(
void
) const
+bool wxBitmapCheckBox::GetValue() const
{
return ((0x003 & SendMessage((HWND) GetHWND(), BM_GETCHECK, 0, 0)) == 0x003);
}
{
return ((0x003 & SendMessage((HWND) GetHWND(), BM_GETCHECK, 0, 0)) == 0x003);
}