]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/statboxcmn.cpp
Compilation fix for wxMSW with wxUSE_MSGBOX_HOOK==0.
[wxWidgets.git] / src / common / statboxcmn.cpp
index 487036e122933af9c147007f169f13c5af78c954..5f0f05cbeb3ad9c4004f02b8a335c5934034b309 100644 (file)
 
 extern WXDLLEXPORT_DATA(const char) wxStaticBoxNameStr[] = "groupBox";
 
+wxStaticBoxBase::wxStaticBoxBase()
+{
+#ifndef __WXGTK__
+    m_container.DisableSelfFocus();
+#endif
+}
+
 // ----------------------------------------------------------------------------
 // XTI
 // ----------------------------------------------------------------------------