virtual size_t GetFormatCount(Direction dir) const
{
// our custom format is supported by both GetData() and SetData()
- ULONG nFormats = 1;
+ size_t nFormats = 1;
if ( dir == Get )
{
// but the bitmap format(s) are only supported for output
DnDShapeDialog::DnDShapeDialog(wxFrame *parent, DnDShape *shape)
:wxDialog( parent, 6001, wxT("Choose Shape"), wxPoint( 10, 10 ),
wxSize( 40, 40 ),
- wxRAISED_BORDER|wxCAPTION|wxTHICK_FRAME|wxSYSTEM_MENU )
+ wxDEFAULT_DIALOG_STYLE | wxRAISED_BORDER | wxTHICK_FRAME )
{
m_shape = shape;
wxBoxSizer* topSizer = new wxBoxSizer( wxVERTICAL );