Source cleaning: -1/wxID_ANY/wxDefaultCoord, ::, TRUE/true. FALSE/false, tabs, whitespaces.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -113,12 +113,12 @@ bool wxTabCtrl::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, cons
|
||||
|
||||
m_hWnd = (WXHWND) hWndTabCtrl;
|
||||
if (parent) parent->AddChild(this);
|
||||
|
||||
|
||||
SubclassWin((WXHWND) hWndTabCtrl);
|
||||
|
||||
SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
|
||||
|
||||
return TRUE;
|
||||
return true;
|
||||
}
|
||||
|
||||
wxTabCtrl::~wxTabCtrl()
|
||||
@@ -215,13 +215,13 @@ bool wxTabCtrl::GetItemRect(int item, wxRect& wxrect) const
|
||||
{
|
||||
RECT rect;
|
||||
if ( !TabCtrl_GetItemRect( (HWND) GetHWND(), item, & rect) )
|
||||
return FALSE;
|
||||
return false;
|
||||
else
|
||||
{
|
||||
wxrect.x = rect.left; wxrect.y = rect.top;
|
||||
wxrect.width = rect.right - rect.left;
|
||||
wxrect.height = rect.bottom - rect.top;
|
||||
return TRUE;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user