git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20451
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
win = new wxRadioButton;
}
{
win = new wxRadioButton;
}
#if defined(__WIN32__) && defined(BS_BITMAP)
else if (style & BS_BITMAP)
{
#if defined(__WIN32__) && defined(BS_BITMAP)
else if (style & BS_BITMAP)
{
// with a switch in the drawing code. Call default proc if BS_BITMAP.
win = new wxBitmapButton;
}
// with a switch in the drawing code. Call default proc if BS_BITMAP.
win = new wxBitmapButton;
}
else if ((style1 == BS_PUSHBUTTON) || (style1 == BS_DEFPUSHBUTTON))
{
win = new wxButton;
else if ((style1 == BS_PUSHBUTTON) || (style1 == BS_DEFPUSHBUTTON))
{
win = new wxButton;
if ((style1 == SS_LEFT) || (style1 == SS_RIGHT) || (style1 == SS_SIMPLE))
win = new wxStaticText;
if ((style1 == SS_LEFT) || (style1 == SS_RIGHT) || (style1 == SS_SIMPLE))
win = new wxStaticText;
#if defined(__WIN32__) && defined(BS_BITMAP)
else if (style1 == SS_BITMAP)
{
#if defined(__WIN32__) && defined(BS_BITMAP)
else if (style1 == SS_BITMAP)
{
wxLogError(wxT("Please make SS_BITMAP statics into owner-draw buttons."));
}
#endif
wxLogError(wxT("Please make SS_BITMAP statics into owner-draw buttons."));
}
#endif
+#endif /* wxUSE_STATBMP */
// ----------------------------------------------------------------------------
// Debug support
// ----------------------------------------------------------------------------
// Debug support
-#if wxUSE_OLE && wxUSE_DRAG_AND_DROP
+#if wxUSE_OLE && ( wxUSE_DRAG_AND_DROP || (__WXDEBUG__ && wxUSE_DATAOBJ) )
// standard headers
#if wxCHECK_W32API_VERSION( 1, 0 )
// standard headers
#if wxCHECK_W32API_VERSION( 1, 0 )