virtual void Clear();
virtual bool StartDoc( const wxString& WXUNUSED(message) ) { return true; }
- virtual void EndDoc(void) {};
+ virtual void EndDoc(void) {}
- virtual void StartPage(void) {};
- virtual void EndPage(void) {};
+ virtual void StartPage(void) {}
+ virtual void EndPage(void) {}
virtual void SetFont(const wxFont& font);
virtual void SetPen(const wxPen& pen);
virtual int GetSelection() const = 0;
virtual void GetSelection(long *from, long *to) const = 0;
- virtual void Popup() { wxFAIL_MSG( wxT("Not implemented") ); };
- virtual void Dismiss() { wxFAIL_MSG( wxT("Not implemented") ); };
+ virtual void Popup() { wxFAIL_MSG( wxT("Not implemented") ); }
+ virtual void Dismiss() { wxFAIL_MSG( wxT("Not implemented") ); }
// may return value different from GetSelection() when the combobox
// dropdown is shown and the user selected, but not yet accepted, a value
virtual bool HasDefaultCompare() const
{ return true; }
virtual unsigned int GetColumnCount() const
- { return 1; };
+ { return 1; }
virtual wxString GetColumnType( unsigned int WXUNUSED(col) ) const
{ return wxT("wxDataViewIconText"); }
// Called when a tab is activated
virtual void OnTabActivate(int activateId, int deactivateId);
// Allows vetoing
- virtual bool OnTabPreActivate(int WXUNUSED(activateId), int WXUNUSED(deactivateId) ) { return true; };
+ virtual bool OnTabPreActivate(int WXUNUSED(activateId), int WXUNUSED(deactivateId) ) { return true; }
// Allows use of application-supplied wxTabControl classes.
virtual wxTabControl *OnCreateTabControl(void) { return new wxTabControl(this); }
#ifdef __WXUNIVERSAL__
// resolve the conflict with wxWindowUniv::SetCurrent()
- virtual bool SetCurrent(bool doit) { return wxWindow::SetCurrent(doit); };
+ virtual bool SetCurrent(bool doit) { return wxWindow::SetCurrent(doit); }
#endif
protected:
#if wxUSE_PALETTE
wxPalette *GetPalette() const;
void SetPalette(const wxPalette& palette);
- wxPalette *GetColourMap() const { return GetPalette(); };
+ wxPalette *GetColourMap() const { return GetPalette(); }
#endif // wxUSE_PALETTE
static void InitStandardHandlers();
virtual ~wxGTKDCImpl();
#if wxUSE_PALETTE
- void SetColourMap( const wxPalette& palette ) { SetPalette(palette); };
+ void SetColourMap( const wxPalette& palette ) { SetPalette(palette); }
#endif // wxUSE_PALETTE
// Resolution in pixels per logical inch
Create( parent, id, defaultDirectory, defaultFilename, wildCard, style, pos, size, name );
}
- virtual ~wxGtkFileCtrl() {};
+ virtual ~wxGtkFileCtrl() {}
void Init();
bool Create( wxWindow *parent,
void SetShadowWidth( int WXUNUSED(w) ) { }
void SetBezelFace( int WXUNUSED(w) ) { }
- int GetShadowWidth() const { return 0; };
- int GetBezelFace() const { return 0; };
+ int GetShadowWidth() const { return 0; }
+ int GetBezelFace() const { return 0; }
// determinate mode API
void SetRange( int r );
class WXDLLIMPEXP_CORE wxGTKTimerImpl : public wxTimerImpl
{
public:
- wxGTKTimerImpl(wxTimer* timer) : wxTimerImpl(timer) { m_sourceId = 0; };
+ wxGTKTimerImpl(wxTimer* timer) : wxTimerImpl(timer) { m_sourceId = 0; }
virtual bool Start( int millisecs = -1, bool oneShot = false );
virtual void Stop();
virtual void ShowWithoutActivating();
virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL);
- virtual bool IsFullScreen() const { return m_fsIsShowing; };
+ virtual bool IsFullScreen() const { return m_fsIsShowing; }
virtual void RequestUserAttention(int flags = wxUSER_ATTENTION_INFO);
#if wxUSE_PALETTE
wxPalette *GetPalette() const;
void SetPalette(const wxPalette& palette);
- wxPalette *GetColourMap() const { return GetPalette(); };
+ wxPalette *GetColourMap() const { return GetPalette(); }
#endif // wxUSE_PALETTE
static void InitStandardHandlers();
virtual ~wxGTKDCImpl() { }
#if wxUSE_PALETTE
- void SetColourMap( const wxPalette& palette ) { SetPalette(palette); };
+ void SetColourMap( const wxPalette& palette ) { SetPalette(palette); }
#endif // wxUSE_PALETTE
// Resolution in pixels per logical inch
void SetBezelFace( int WXUNUSED(w) ) { }
void SetRange( int r );
void SetValue( int pos );
- int GetShadowWidth() const { return 0; };
- int GetBezelFace() const { return 0; };
+ int GetShadowWidth() const { return 0; }
+ int GetBezelFace() const { return 0; }
int GetRange() const;
int GetValue() const;
virtual ~wxMessageDialog();
int ShowModal();
- virtual bool Show( bool WXUNUSED(show) = true ) { return false; };
+ virtual bool Show( bool WXUNUSED(show) = true ) { return false; }
protected:
// implement some base class methods to do nothing to avoid asserts and
virtual void Restore();
virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL);
- virtual bool IsFullScreen() const { return m_fsIsShowing; };
+ virtual bool IsFullScreen() const { return m_fsIsShowing; }
virtual bool SetShape(const wxRegion& region);
public:
DECLARE_DYNAMIC_CLASS(wxWebKitCtrl)
- wxWebKitCtrl() {};
+ wxWebKitCtrl() {}
wxWebKitCtrl(wxWindow *parent,
wxWindowID winID,
const wxString& strURL,
const wxString& name = wxWebKitCtrlNameStr)
{
Create(parent, winID, strURL, pos, size, style, validator, name);
- };
+ }
bool Create(wxWindow *parent,
wxWindowID winID,
const wxString& strURL,
{
public:
#if defined(wxWARN_COMPAT_LIST_USE) && !wxUSE_STD_CONTAINERS
- wxList() { };
+ wxList() { }
wxDEPRECATED( wxList(int key_type) );
#elif !wxUSE_STD_CONTAINERS
wxList(int key_type = wxKEY_NONE);
#if wxUSE_MENUS
// return the pointer to the current window menu or NULL if we don't have
// because of wxFRAME_NO_WINDOW_MENU style
- wxMenu* GetWindowMenu() const { return m_windowMenu; };
+ wxMenu* GetWindowMenu() const { return m_windowMenu; }
// use the given menu instead of the default window menu
//
unsigned char Green() const { return m_green; }
unsigned char Blue() const { return m_blue; }
- WXPixel GetPixel() const { return m_pixel; };
- void SetPixel(WXPixel pixel) { m_pixel = pixel; m_isInit = true; };
+ WXPixel GetPixel() const { return m_pixel; }
+ void SetPixel(WXPixel pixel) { m_pixel = pixel; m_isInit = true; }
inline bool operator == (const wxColour& colour) const { return (m_red == colour.m_red && m_green == colour.m_green && m_blue == colour.m_blue); }
WXWidget GetMainWidget() const { return m_mainWidget; }
//Copied from wxComboBoxBase because for wxMOTIF wxComboBox does not inherit from it.
- virtual void Popup() { wxFAIL_MSG( wxT("Not implemented") ); };
- virtual void Dismiss() { wxFAIL_MSG( wxT("Not implemented") ); };
+ virtual void Popup() { wxFAIL_MSG( wxT("Not implemented") ); }
+ virtual void Dismiss() { wxFAIL_MSG( wxT("Not implemented") ); }
protected:
virtual wxSize DoGetBestSize() const;
{
public:
- wxTextDropTarget() {};
+ wxTextDropTarget() {}
virtual bool OnDrop( long x, long y, const void *data, size_t size );
virtual bool OnDropText( long x, long y, const char *psz );
{
public:
- wxFileDropTarget() {};
+ wxFileDropTarget() {}
virtual bool OnDrop( long x, long y, const void *data, size_t size );
virtual bool OnDropFiles( long x, long y,
void SetData( wxDataObject &data );
wxDragResult DoDragDrop(int flags = wxDrag_CopyOnly);
- virtual bool GiveFeedback( wxDragResult WXUNUSED(effect), bool WXUNUSED(bScrolling) ) { return true; };
+ virtual bool GiveFeedback( wxDragResult WXUNUSED(effect), bool WXUNUSED(bScrolling) ) { return true; }
// implementation
#if 0
// Implementation
virtual void Command(wxCommandEvent& event)
- { (void)ProcessCommand(event); };
+ { (void)ProcessCommand(event); }
virtual void ChangeFont(bool keepOriginalSize = true);
virtual void ChangeBackgroundColour();
virtual void ChangeForegroundColour();
class WXDLLIMPEXP_BASE wxMSWTimerImpl : public wxTimerImpl
{
public:
- wxMSWTimerImpl(wxTimer *timer) : wxTimerImpl(timer) { m_id = 0; };
+ wxMSWTimerImpl(wxTimer *timer) : wxTimerImpl(timer) { m_id = 0; }
virtual bool Start(int milliseconds = -1, bool oneShot = false);
virtual void Stop();
public:
VirtualProtocol(wxSharedPtr<wxWebViewHandler> handler);
- ~VirtualProtocol() {};
+ ~VirtualProtocol() {}
//IUnknown
DECLARE_IUNKNOWN_METHODS;
private:
virtual void SetLabel(const wxString& rsString)
- { wxCheckBox::SetLabel(rsString); };
+ { wxCheckBox::SetLabel(rsString); }
DECLARE_DYNAMIC_CLASS(wxBitmapCheckBox)
};
#endif
bool operator != (const wxColour& rColour) const { return !(*this == rColour); }
- WXCOLORREF GetPixel(void) const { return m_vPixel; };
+ WXCOLORREF GetPixel(void) const { return m_vPixel; }
private:
//
// For ownerdraw items
//
- virtual bool OS2OnDraw(WXDRAWITEMSTRUCT* WXUNUSED(pItem)) { return false; };
- virtual long OS2OnMeasure(WXMEASUREITEMSTRUCT* WXUNUSED(pItem)) { return 0L; };
+ virtual bool OS2OnDraw(WXDRAWITEMSTRUCT* WXUNUSED(pItem)) { return false; }
+ virtual long OS2OnMeasure(WXMEASUREITEMSTRUCT* WXUNUSED(pItem)) { return 0L; }
wxArrayLong& GetSubcontrols() { return m_aSubControls; }
void OnEraseBackground(wxEraseEvent& rEvent);
// TODO: should this go into a wxFrameworkSettings class perhaps?
static void UseNativeStatusBar(bool bUseNative)
- { m_bUseNativeStatusBar = bUseNative; };
+ { m_bUseNativeStatusBar = bUseNative; }
static bool UsesNativeStatusBar()
- { return m_bUseNativeStatusBar; };
+ { return m_bUseNativeStatusBar; }
#endif // wxUSE_STATUSBAR
WXHMENU GetWinMenu() const { return m_hMenu; }
void SetValue(int nPos);
inline virtual bool AcceptsFocus(void) const { return FALSE; }
- inline virtual void Command(wxCommandEvent& WXUNUSED(rEvent)) {};
+ inline virtual void Command(wxCommandEvent& WXUNUSED(rEvent)) {}
protected:
int m_nRangeMax;
{ m_nWidth = nW; m_nHeight = nH; }
// free the ressources we allocated
- virtual void Free() { };
+ virtual void Free() { }
// for compatibility, the member fields are public
class WXDLLIMPEXP_CORE wxIconRefData: public wxIconRefDataBase
{
public:
- wxIconRefData() { };
+ wxIconRefData() { }
virtual ~wxIconRefData() { Free(); }
virtual void Free();
inline void SetHICON(WXHICON hIcon) { SetHandle((WXHANDLE)hIcon); }
inline WXHICON GetHICON() const { return (WXHICON)GetHandle(); }
- inline bool IsXpm(void) const { return m_bIsXpm; };
+ inline bool IsXpm(void) const { return m_bIsXpm; }
inline const wxBitmap& GetXpmSrc(void) const { return m_vXpmSrc; }
void CopyFromBitmap(const wxBitmap& rBmp);
m_strPath; // the rest of the path (no trailing '_'!)
// Virtual function hiding
virtual bool Read(const wxString& key, bool* val) const
- { return(wxConfigBase::Read(key, val));};
+ { return(wxConfigBase::Read(key, val));}
virtual bool Read(const wxString& key, bool* val, bool defVal) const
- { return(wxConfigBase::Read(key, val, defVal));};
+ { return(wxConfigBase::Read(key, val, defVal));}
virtual bool Write(const wxString& key, double value)
- { return(wxConfigBase::Write(key, value));};
+ { return(wxConfigBase::Write(key, value));}
virtual bool Write(const wxString& key, bool value)
- { return(wxConfigBase::Write(key, value));};
+ { return(wxConfigBase::Write(key, value));}
virtual bool Write(const wxString& key, const char* value)
- { return(wxConfigBase::Write(key, value));};
+ { return(wxConfigBase::Write(key, value));}
};
#endif //_INICONF_H
* Public interface
*/
- wxJoystick(int joystick = wxJOYSTICK1) { m_joystick = joystick; };
+ wxJoystick(int joystick = wxJOYSTICK1) { m_joystick = joystick; }
// Attributes
////////////////////////////////////////////////////////////////////////////
{
public:
// ctors
- wxMetafileDataObject() { m_width = 0; m_height = 0; };
+ wxMetafileDataObject() { m_width = 0; m_height = 0; }
wxMetafileDataObject(const wxMetafile& metafile, int width = 0,int height = 0)
:m_metafile(metafile)
,m_width(width)
m_sName = "PNG bitmap file";
m_sExtension = "bmp";
m_lType = wxBITMAP_TYPE_PNG;
- };
+ }
virtual bool LoadFile( wxBitmap* pBitmap
,const wxString& rName
bool ReadFile( wxChar* ImageFileName=0 );
bool SaveFile( wxChar* ImageFileName=0 );
bool SaveXPM(wxChar *filename, wxChar *name = 0);
- int GetWidth( void ) const { return Width; };
- int GetHeight( void ) const { return Height; };
- int GetDepth( void ) const { return Depth; };
- int GetColorType( void ) const { return ColorType; };
+ int GetWidth( void ) const { return Width; }
+ int GetHeight( void ) const { return Height; }
+ int GetDepth( void ) const { return Depth; }
+ int GetColorType( void ) const { return ColorType; }
int GetIndex(int x, int y);
bool GetRGB(int x, int y, byte* r, byte* g, byte* b);
}
#endif
- // _WX_PNGREAD__
\ No newline at end of file
+ // _WX_PNGREAD__
inline void SetButtonFont(const wxFont& rFont) { SetFont(rFont); }
void SetFocus(void);
virtual bool SetFont(const wxFont& rFont);
- inline void SetLabelFont(const wxFont& WXUNUSED(font)) {};
+ inline void SetLabelFont(const wxFont& WXUNUSED(font)) {}
virtual void SetSelection(int nIndex);
virtual void SetString(unsigned int nNum, const wxString& rsLabel);
virtual bool SetStringSelection(const wxString& rsStr);
// Create from data
bool Create(size_t size, const void* data);
- bool IsOk() const { return (m_waveData ? TRUE : FALSE); };
+ bool IsOk() const { return (m_waveData ? TRUE : FALSE); }
protected:
bool Free();
inline virtual ~wxStaticBitmap() { Free(); }
virtual void SetIcon(const wxIcon& rIcon) { SetImage(rIcon); }
- virtual void SetBitmap(const wxBitmap& rBitmap) { SetImage(rBitmap); };
+ virtual void SetBitmap(const wxBitmap& rBitmap) { SetImage(rBitmap); }
// assert failure is provoked by an attempt to get an icon from bitmap or
// vice versa
,int nImage
,int nImageSel
);
- void DeleteTextCtrl() { };
+ void DeleteTextCtrl() { }
//
// support for additional item images which we implement using
);
inline HWND GetScrollBarHorz(void) const {return m_hWndScrollBarHorz;}
- inline HWND GetScrollBarVert(void) const {return m_hWndScrollBarVert;};
+ inline HWND GetScrollBarVert(void) const {return m_hWndScrollBarVert;}
#if wxUSE_DRAG_AND_DROP
virtual void SetDropTarget(wxDropTarget* pDropTarget);
#endif // wxUSE_DRAG_AND_DROP
);
// PM only: true if this control is part of the main control
- virtual bool ContainsHWND(WXHWND WXUNUSED(hWnd)) const { return false; };
+ virtual bool ContainsHWND(WXHWND WXUNUSED(hWnd)) const { return false; }
// translate wxWidgets style flags for this control into the PM style
// and optional extended style for the corresponding native control
virtual void SetBitmap(const wxBitmap& bitmap);
- virtual void Command(wxCommandEvent& WXUNUSED(event)) {};
- virtual void ProcessCommand(wxCommandEvent& WXUNUSED(event)) {};
+ virtual void Command(wxCommandEvent& WXUNUSED(event)) {}
+ virtual void ProcessCommand(wxCommandEvent& WXUNUSED(event)) {}
void OnPaint( wxPaintEvent &event ) ;
wxBitmap GetBitmap() const { return m_bitmap; }
bool operator != (const wxColour& colour) const { return !(*this == colour); }
- CGColorRef GetPixel() const { return m_cgColour; };
+ CGColorRef GetPixel() const { return m_cgColour; }
- CGColorRef GetCGColor() const { return m_cgColour; };
- CGColorRef CreateCGColor() const { return wxCFRetain( (CGColorRef)m_cgColour ); };
+ CGColorRef GetCGColor() const { return m_cgColour; }
+ CGColorRef CreateCGColor() const { return wxCFRetain( (CGColorRef)m_cgColour ); }
#if wxOSX_USE_COCOA_OR_CARBON
void GetRGBColor( RGBColor *col ) const;
virtual ~wxComboWidgetImpl() {}
- virtual int GetSelectedItem() const { return -1; };
- virtual void SetSelectedItem(int WXUNUSED(item)) {};
+ virtual int GetSelectedItem() const { return -1; }
+ virtual void SetSelectedItem(int WXUNUSED(item)) {}
- virtual int GetNumberOfItems() const { return -1; };
+ virtual int GetNumberOfItems() const { return -1; }
virtual void InsertItem(int WXUNUSED(pos), const wxString& WXUNUSED(item)) {}
* Public interface
*/
- wxJoystick(int joystick = wxJOYSTICK1) { m_joystick = joystick; };
+ wxJoystick(int joystick = wxJOYSTICK1) { m_joystick = joystick; }
// Attributes
////////////////////////////////////////////////////////////////////////////
bool Update(long item);
*/
- void Command(wxCommandEvent& event) { ProcessCommand(event); };
+ void Command(wxCommandEvent& event) { ProcessCommand(event); }
- wxListCtrlCompare GetCompareFunc() { return m_compareFunc; };
- wxIntPtr GetCompareFuncData() { return m_compareFuncData; };
+ wxListCtrlCompare GetCompareFunc() { return m_compareFunc; }
+ wxIntPtr GetCompareFuncData() { return m_compareFuncData; }
// public overrides needed for pimpl approach
public:
// ctors
wxMetafileDataObject()
- : wxDataObjectSimple(wxDF_METAFILE) { };
+ : wxDataObjectSimple(wxDF_METAFILE) { }
wxMetafileDataObject(const wxMetafile& metafile)
: wxDataObjectSimple(wxDF_METAFILE), m_metafile(metafile) { }
SetName(wxT("PNG bitmap file"));
SetExtension(wxT("bmp"));
SetType(wxBITMAP_TYPE_PNG);
- };
+ }
virtual bool LoadFile(wxBitmap *bitmap, const wxString& name, long flags,
int desiredWidth, int desiredHeight);
bool ReadFile( char* ImageFileName=0 );
bool SaveFile( char* ImageFileName=0 );
bool SaveXPM(char *filename, char *name = 0);
- int GetWidth( void ) const { return Width; };
- int GetHeight( void ) const { return Height; };
- int GetDepth( void ) const { return Depth; };
- int GetColorType( void ) const { return ColorType; };
+ int GetWidth( void ) const { return Width; }
+ int GetHeight( void ) const { return Height; }
+ int GetDepth( void ) const { return Depth; }
+ int GetColorType( void ) const { return ColorType; }
int GetIndex(int x, int y);
bool GetRGB(int x, int y, byte* r, byte* g, byte* b);
long style = 0,
const wxString& name = wxStaticBoxNameStr);
- virtual void Command(wxCommandEvent& WXUNUSED(event)) {};
- virtual void ProcessCommand(wxCommandEvent& WXUNUSED(event)) {};
+ virtual void Command(wxCommandEvent& WXUNUSED(event)) {}
+ virtual void ProcessCommand(wxCommandEvent& WXUNUSED(event)) {}
virtual void GetBordersForSizer(int *borderTop, int *borderOther) const;
bool SortChildren(long item);
bool EnsureVisible(long item);
- void Command(wxCommandEvent& event) { ProcessCommand(event); };
+ void Command(wxCommandEvent& event) { ProcessCommand(event); }
protected:
wxTextCtrl* m_textCtrl;
void SetCurrent();
#ifdef __WXUNIVERSAL__
- virtual bool SetCurrent(bool doit) { return wxWindow::SetCurrent(doit); };
+ virtual bool SetCurrent(bool doit) { return wxWindow::SetCurrent(doit); }
#endif
void SetColour(const wxChar *colour);
virtual wxMDIClientWindow *OnCreateClient(void);
// MDI windows menu
- wxMenu* GetWindowMenu() const { return m_windowMenu; };
+ wxMenu* GetWindowMenu() const { return m_windowMenu; }
void SetWindowMenu(wxMenu* menu) ;
// MDI operations
void SetJoin(wxPenJoin join);
void SetCap(wxPenCap cap);
- wxColour& GetColour() const { return (M_PENDATA ? M_PENDATA->m_colour : wxNullColour); };
- int GetWidth() const { return (M_PENDATA ? M_PENDATA->m_width : 0); };
- wxPenStyle GetStyle() const { return (M_PENDATA ? M_PENDATA->m_style : 0); };
- wxPenJoin GetJoin() const { return (M_PENDATA ? M_PENDATA->m_join : 0); };
- wxPenCap GetCap() const { return (M_PENDATA ? M_PENDATA->m_cap : 0); };
+ wxColour& GetColour() const { return (M_PENDATA ? M_PENDATA->m_colour : wxNullColour); }
+ int GetWidth() const { return (M_PENDATA ? M_PENDATA->m_width : 0); }
+ wxPenStyle GetStyle() const { return (M_PENDATA ? M_PENDATA->m_style : 0); }
+ wxPenJoin GetJoin() const { return (M_PENDATA ? M_PENDATA->m_join : 0); }
+ wxPenCap GetCap() const { return (M_PENDATA ? M_PENDATA->m_cap : 0); }
int GetDashes(wxDash **ptr) const
{
*ptr = (M_PENDATA ? (wxDash*)M_PENDATA->m_dash : NULL);
return (M_PENDATA ? M_PENDATA->m_nbDash : 0);
}
- wxDash* GetDash() const { return (M_PENDATA ? (wxDash*)M_PENDATA->m_dash : NULL); };
- inline int GetDashCount() const { return (M_PENDATA ? M_PENDATA->m_nbDash : 0); };
+ wxDash* GetDash() const { return (M_PENDATA ? (wxDash*)M_PENDATA->m_dash : NULL); }
+ inline int GetDashCount() const { return (M_PENDATA ? M_PENDATA->m_nbDash : 0); }
- inline wxBitmap *GetStipple() const { return (M_PENDATA ? (& M_PENDATA->m_stipple) : NULL); };
+ inline wxBitmap *GetStipple() const { return (M_PENDATA ? (& M_PENDATA->m_stipple) : NULL); }
// Internal
bool RealizeResource();
virtual wxPoint GetClientAreaOrigin() const;
void SetFocus();
- void SetLabelFont(const wxFont& WXUNUSED(font)) {};
+ void SetLabelFont(const wxFont& WXUNUSED(font)) {}
void SetButtonFont(const wxFont& font) { SetFont(font); }
virtual void Refresh( bool eraseBackground = true,
// Create from data
bool Create(size_t size, const void* data);
- bool IsOk() const { return (m_waveData ? true : false); };
+ bool IsOk() const { return (m_waveData ? true : false); }
static void Stop();
wxWindow *FindItemByWinHandle(WXWINHANDLE handle, bool controlOnly = false) const;
// Palm only: true if this control is part of the main control
- virtual bool ContainsWinHandle(WXWINHANDLE WXUNUSED(handle)) const { return false; };
+ virtual bool ContainsWinHandle(WXWINHANDLE WXUNUSED(handle)) const { return false; }
// translate wxWidgets style flags for this control into the Windows style
// and optional extended style for the corresponding native control
}
/** Gets a unsigned number identifying this list. */
- wxPGChoicesId GetId() const { return (wxPGChoicesId) m_data; };
+ wxPGChoicesId GetId() const { return (wxPGChoicesId) m_data; }
const wxString& GetLabel( unsigned int ind ) const
{
// Under GTK+ 2.X we use GdkPixbuf, which is standard RGB or RGBA
typedef wxPixelFormat<unsigned char, 24, 0, 1, 2> wxNativePixelFormat;
+ #define wxPIXEL_FORMAT_ALPHA 3
+#elif defined(__WXPM__)
+ // Under PM, we can use standard RGB or RGBA
+ typedef wxPixelFormat<unsigned char, 24, 0, 1, 2> wxNativePixelFormat;
+
#define wxPIXEL_FORMAT_ALPHA 3
#elif defined(__WXDFB__)
// Under DirectFB, RGB components are reversed, they're in BGR order
wxString GetDetailedText() const { return m_detailedText; }
- virtual bool IsCheckBoxChecked() const { return m_checkBoxValue; };
+ virtual bool IsCheckBoxChecked() const { return m_checkBoxValue; }
protected:
const wxString m_detailsExpanderCollapsedLabel;
#if defined(__WXGTK__) || defined(__WXX11__) || defined(__WXMOTIF__)
static bool IsAvailable();
#else
- static bool IsAvailable() { return true; };
+ static bool IsAvailable() { return true; }
#endif
// Operations:
public:
wxAnyButton() {}
- virtual ~wxAnyButton() {};
+ virtual ~wxAnyButton() {}
protected:
// choose the default border for this window
wxPalette *GetPalette() const;
wxPalette *GetColourMap() const
- { return GetPalette(); };
+ { return GetPalette(); }
virtual void SetPalette(const wxPalette& palette);
// implementation
{
public:
- wxTextDropTarget() {};
+ wxTextDropTarget() {}
virtual bool OnDrop( long x, long y, const void *data, size_t size );
virtual bool OnDropText( long x, long y, const char *psz );
{
public:
- wxFileDropTarget() {};
+ wxFileDropTarget() {}
virtual bool OnDrop( long x, long y, const void *data, size_t size );
virtual bool OnDropFiles( long x, long y,
void SetData( wxDataObject &data );
wxDragResult DoDragDrop(int flags = wxDrag_CopyOnly);
- virtual bool GiveFeedback( wxDragResult WXUNUSED(effect), bool WXUNUSED(bScrolling) ) { return TRUE; };
+ virtual bool GiveFeedback( wxDragResult WXUNUSED(effect), bool WXUNUSED(bScrolling) ) { return TRUE; }
// implementation
#if 0
* Public interface
*/
- wxJoystick(int joystick = wxJOYSTICK1) { m_joystick = joystick; };
+ wxJoystick(int joystick = wxJOYSTICK1) { m_joystick = joystick; }
// Attributes
////////////////////////////////////////////////////////////////////////////