X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32334453e78efe7242c8203f9bfbe37a0896cbfc..818503a1826c8d32340234318afe6de35f756c2f:/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); }