#pragma hdrstop
#endif
+#if wxUSE_FONTDLG && (!defined(__WXGTK__) || defined(__WXUNIVERSAL__))
+
#ifndef WX_PRECOMP
#include <stdio.h>
#include "wx/utils.h"
#include "wx/dcclient.h"
#include "wx/choice.h"
#include "wx/checkbox.h"
-#include <wx/intl.h>
+#include "wx/intl.h"
#endif
#include <string.h>
#include "wx/cmndata.h"
#include "wx/generic/fontdlgg.h"
-#if !USE_SHARED_LIBRARY
IMPLEMENT_DYNAMIC_CLASS(wxGenericFontDialog, wxDialog)
BEGIN_EVENT_TABLE(wxGenericFontDialog, wxDialog)
EVT_CLOSE(wxGenericFontDialog::OnCloseWindow)
END_EVENT_TABLE()
-#endif
#define NUM_COLS 48
static wxString wxColourDialogNames[NUM_COLS]={wxT("ORANGE"),
}
-void wxGenericFontDialog::OnPaint(wxPaintEvent& event)
+void wxGenericFontDialog::OnPaint(wxPaintEvent& WXUNUSED(event))
{
wxPaintDC dc(this);
PaintFontBackground(dc);
default:
return wxT("Normal");
}
- return wxT("Normal");
}
wxChar *wxFontStyleIntToString(int style)
default:
return wxT("Normal");
}
- return wxT("Normal");
}
wxChar *wxFontFamilyIntToString(int family)
default:
return wxT("Swiss");
}
- return wxT("Swiss");
}
int wxFontFamilyStringToInt(wxChar *family)
return wxNORMAL;
}
+#endif
+ // wxUSE_FONTDLG