X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/19bf0c69003ef4128157d157946144947aa628d2..0b5eceb638d6fc9cfa5326cd00b10028fc823187:/src/common/gdicmn.cpp?ds=inline diff --git a/src/common/gdicmn.cpp b/src/common/gdicmn.cpp index 6e48b25fd3..a9481d6f49 100644 --- a/src/common/gdicmn.cpp +++ b/src/common/gdicmn.cpp @@ -228,7 +228,9 @@ void wxColourDatabase::Initialize () {wxT("MEDIUM GREY"), 100, 100, 100}, }; - for ( size_t n = 0; n < WXSIZEOF(wxColourTable); n++ ) + size_t n; + + for ( n = 0; n < WXSIZEOF(wxColourTable); n++ ) { const wxColourDesc& cc = wxColourTable[n]; Append(cc.name, new wxColour(cc.r,cc.g,cc.b)); @@ -379,7 +381,7 @@ void wxInitializeStockObjects () #else #endif */ -#if defined(__WXPM__) +#if defined(__WXPM__) || defined(__WXMAC__) static const int sizeFont = 12; wxNORMAL_FONT = new wxFont (sizeFont, wxMODERN, wxNORMAL, wxNORMAL); #else