Latest updates from SciTech code tree including numerous warning fixes for
the Watcom and other compilers. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -45,10 +45,10 @@ class WXDLLEXPORT wxButtonBase : public wxControl
|
||||
{
|
||||
public:
|
||||
// show the image in the button in addition to the label
|
||||
virtual void SetImageLabel(const wxBitmap& bitmap) { }
|
||||
virtual void SetImageLabel(const wxBitmap& WXUNUSED(bitmap)) { }
|
||||
|
||||
// set the margins around the image
|
||||
virtual void SetImageMargins(wxCoord x, wxCoord y) { }
|
||||
virtual void SetImageMargins(wxCoord WXUNUSED(x), wxCoord WXUNUSED(y)) { }
|
||||
|
||||
// this wxButton method is called when the button becomes the default one
|
||||
// on its panel
|
||||
|
@@ -72,11 +72,11 @@ public:
|
||||
virtual void Layout(int w);
|
||||
|
||||
// renders the cell
|
||||
virtual void Draw(wxDC& dc, int x, int y, int view_y1, int view_y2) {}
|
||||
virtual void Draw(wxDC& WXUNUSED(dc), int WXUNUSED(x), int WXUNUSED(y), int WXUNUSED(view_y1), int WXUNUSED(view_y2)) {}
|
||||
|
||||
// proceed drawing actions in case the cell is not visible (scrolled out of screen).
|
||||
// This is needed to change fonts, colors and so on
|
||||
virtual void DrawInvisible(wxDC& dc, int x, int y) {}
|
||||
virtual void DrawInvisible(wxDC& WXUNUSED(dc), int WXUNUSED(x), int WXUNUSED(y)) {}
|
||||
|
||||
// This method returns pointer to the FIRST cell for that
|
||||
// the condition
|
||||
|
@@ -353,7 +353,7 @@ public:
|
||||
virtual void EnableTop(size_t pos, bool enable) = 0;
|
||||
|
||||
// is the menu enabled?
|
||||
virtual bool IsEnabledTop(size_t pos) const { return TRUE; }
|
||||
virtual bool IsEnabledTop(size_t WXUNUSED(pos)) const { return TRUE; }
|
||||
|
||||
// get or change the label of the menu at given position
|
||||
virtual void SetLabelTop(size_t pos, const wxString& label) = 0;
|
||||
|
28
include/wx/spawnbrowser.h
Normal file
28
include/wx/spawnbrowser.h
Normal file
@@ -0,0 +1,28 @@
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Name: wx/spawnbrowser.h
|
||||
// Purpose: wxSpawnBrowser can be used to spawn a browser
|
||||
// Author: Jason Quijano
|
||||
// Modified by:
|
||||
// Created: 13.06.01
|
||||
// RCS-ID:
|
||||
// Copyright: (c) 2001 Jason Quijano <jasonq@scitechsoft.com>
|
||||
// Licence: wxWindows licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_SPAWNBROWSER_H_
|
||||
#define _WX_SPAWNBROWSER_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma interface "spawnbrowser.h"
|
||||
#endif
|
||||
|
||||
#if wxUSE_SPAWNBROWSER
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxSpawnBrowser
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
WXDLLEXPORT bool wxSpawnBrowser(wxWindow *parent, wxString href);
|
||||
#endif // wxUSE_SPAWNBROWSER
|
||||
|
||||
#endif // _WX_SPAWNBROWSER_H_
|
Reference in New Issue
Block a user