'static not in the beginning of the decl' warnings fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -880,10 +880,10 @@ void wxWindowDC::SetPen( const wxPen &pen )
|
|||||||
width = (int)w;
|
width = (int)w;
|
||||||
}
|
}
|
||||||
|
|
||||||
const static char dotted[] = {1, 1};
|
static const char dotted[] = {1, 1};
|
||||||
const static char short_dashed[] = {2, 2};
|
static const char short_dashed[] = {2, 2};
|
||||||
const static char long_dashed[] = {2, 4};
|
static const char long_dashed[] = {2, 4};
|
||||||
const static char dotted_dashed[] = {3, 3, 1, 3};
|
static const char dotted_dashed[] = {3, 3, 1, 3};
|
||||||
|
|
||||||
// We express dash pattern in pen width unit, so we are
|
// We express dash pattern in pen width unit, so we are
|
||||||
// independent of zoom factor and so on...
|
// independent of zoom factor and so on...
|
||||||
|
@@ -880,10 +880,10 @@ void wxWindowDC::SetPen( const wxPen &pen )
|
|||||||
width = (int)w;
|
width = (int)w;
|
||||||
}
|
}
|
||||||
|
|
||||||
const static char dotted[] = {1, 1};
|
static const char dotted[] = {1, 1};
|
||||||
const static char short_dashed[] = {2, 2};
|
static const char short_dashed[] = {2, 2};
|
||||||
const static char long_dashed[] = {2, 4};
|
static const char long_dashed[] = {2, 4};
|
||||||
const static char dotted_dashed[] = {3, 3, 1, 3};
|
static const char dotted_dashed[] = {3, 3, 1, 3};
|
||||||
|
|
||||||
// We express dash pattern in pen width unit, so we are
|
// We express dash pattern in pen width unit, so we are
|
||||||
// independent of zoom factor and so on...
|
// independent of zoom factor and so on...
|
||||||
|
Reference in New Issue
Block a user