-bool wxStaticBitmap::Create(wxWindow *parent, wxWindowID id,
- const wxGDIImage& bitmap,
- const wxPoint& pos,
- const wxSize& size,
- long style,
- const wxString& name)
+// we may have either bitmap or icon: if a bitmap with mask is passed, we
+// will transform it to an icon ourselves because otherwise the mask will
+// be ignored by Windows
+// note that this function will create a new object every time
+// it is called even if the image needs no conversion
+
+#ifndef __WIN16__
+
+static wxGDIImage* ConvertImage( const wxGDIImage& bitmap )