]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/statbmp.cpp
use WS_EX_CONTROLPARENT to ensure correct Alt-mnemonic handling with nested panels
[wxWidgets.git] / src / os2 / statbmp.cpp
index f162d5c4728d73a10930cb873f380ee717d7e07b..d06a109a0eadb887d5426915554fd09121007999 100644 (file)
@@ -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);
 }