]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/statbox.cpp
Temporary fix for link error to ~wxZipOutputStream()
[wxWidgets.git] / src / msw / statbox.cpp
index deb7761c269ec8e67c6caa86e4caad81a3500594..6ecb72dff2abe47903214f21f788776d126833ec 100644 (file)
@@ -121,11 +121,18 @@ bool wxStaticBox::Create(wxWindow *parent,
     if ( !MSWCreateControl(wxT("BUTTON"), label, pos, size) )
         return false;
 
+#ifndef __WXWINCE__
     Connect(wxEVT_PAINT, wxPaintEventHandler(wxStaticBox::OnPaint));
+#endif
 
     return true;
 }
 
+wxBorder wxStaticBox::GetDefaultBorder() const
+{
+    return wxBORDER_NONE;
+}
+
 WXDWORD wxStaticBox::MSWGetStyle(long style, WXDWORD *exstyle) const
 {
     long styleWin = wxStaticBoxBase::MSWGetStyle(style, exstyle);