X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32334453e78efe7242c8203f9bfbe37a0896cbfc..ba14d9861d043d53cc53ea70a2fab4146f7be9f3:/src/os2/statbmp.cpp diff --git a/src/os2/statbmp.cpp b/src/os2/statbmp.cpp index f162d5c472..d06a109a0e 100644 --- a/src/os2/statbmp.cpp +++ b/src/os2/statbmp.cpp @@ -93,7 +93,7 @@ bool wxStaticBitmap::Create( // Subclass again for purposes of dialog editing mode SubclassWin(m_hWnd); - SetFont(GetParent()->GetFont()); + SetFont(*wxSMALL_FONT); SetSize(nX, nY, nWidth, nHeight); return(FALSE); }