Source cleaning: whitespaces, tabs, TRUE/true, FALSE/false, -1/wxID_ANY/wxDefaultCoord, !!/!IsEmpty().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
|
||||
#include <math.h>
|
||||
|
||||
// bool wxDCBase::sm_cacheing = FALSE;
|
||||
// bool wxDCBase::sm_cacheing = false;
|
||||
|
||||
// ============================================================================
|
||||
// implementation
|
||||
@@ -291,7 +291,7 @@ static bool wx_spline_add_point(double x, double y)
|
||||
point->x = (int) x;
|
||||
point->y = (int) y;
|
||||
wx_spline_point_list.Append((wxObject*)point);
|
||||
return TRUE;
|
||||
return true;
|
||||
}
|
||||
|
||||
static void wx_spline_draw_point_array(wxDCBase *dc)
|
||||
@@ -571,7 +571,7 @@ void wxDCBase::DrawLabel(const wxString& text,
|
||||
width0 = width;
|
||||
if ( bitmap.Ok() )
|
||||
{
|
||||
DrawBitmap(bitmap, x, y, TRUE /* use mask */);
|
||||
DrawBitmap(bitmap, x, y, true /* use mask */);
|
||||
|
||||
wxCoord offset = bitmap.GetWidth() + 4;
|
||||
x += offset;
|
||||
|
||||
Reference in New Issue
Block a user