// Author: Julian Smart
// Modified by:
// Created: 2002-03-10
-// RCS-ID: $Id$
-// Copyright: (c) wxWindows team
+// Copyright: (c) wxWidgets team
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#ifndef _WX_EMULATOR_H_
#define _WX_EMULATOR_H_
-#ifdef __GNUG__
- #pragma interface "emulator.h"
-#endif
-
#define wxEMULATOR_VERSION 0.1
// Information about the emulator decorations
public:
wxEmulatorInfo() { Init(); }
- wxEmulatorInfo(const wxEmulatorInfo& info) { Init(); Copy(info); }
+ wxEmulatorInfo(const wxEmulatorInfo& info) : wxObject() { Init(); Copy(info); }
void operator= (const wxEmulatorInfo& info) { Copy(info); }
void Copy(const wxEmulatorInfo& info);
void OnCloseWindow(wxCloseEvent& event);
private:
- // any class wishing to process wxWindows events must use this macro
+ // any class wishing to process wxWidgets events must use this macro
DECLARE_EVENT_TABLE()
};
};
// Returns the image type, or -1, determined from the extension.
-int wxDetermineImageType(const wxString& filename);
+wxBitmapType wxDetermineImageType(const wxString& filename);
// Convert a colour to a 6-digit hex string
wxString wxColourToHexString(const wxColour& col);