Removed Motif files that only contained stubs
for functionality that is: 1 - not Motif, but rather OS/WM specific: wxJoystick, wxWave, wxTaskBarIcon 2 - not provided natively by Motif: wxColourDialog, wxFontDialog, wxDirDialog, wxMetafile 3 - obsolete: wxTab* 4 - cruft: helpxxxx.h/cpp Regenerated configure and some filelist.txt-dependent files. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -643,7 +643,6 @@ gauge.cpp Motif
|
||||
gdiobj.cpp Motif
|
||||
glcanvas.cpp Motif
|
||||
icon.cpp Motif
|
||||
joystick.cpp Motif
|
||||
listbox.cpp Motif
|
||||
main.cpp Motif
|
||||
mdi.cpp Motif
|
||||
@@ -1245,7 +1244,6 @@ checkbox.h MotifH
|
||||
checklst.h MotifH
|
||||
choice.h MotifH
|
||||
clipbrd.h MotifH
|
||||
colordlg.h MotifH
|
||||
colour.h MotifH
|
||||
combobox.h MotifH
|
||||
control.h MotifH
|
||||
@@ -1261,23 +1259,19 @@ dialog.h MotifH
|
||||
dnd.h MotifH
|
||||
filedlg.h MotifH
|
||||
font.h MotifH
|
||||
fontdlg.h MotifH
|
||||
frame.h MotifH
|
||||
gauge.h MotifH
|
||||
gdiobj.h MotifH
|
||||
glcanvas.h MotifH
|
||||
icon.h MotifH
|
||||
joystick.h MotifH
|
||||
listbox.h MotifH
|
||||
mdi.h MotifH
|
||||
menu.h MotifH
|
||||
menuitem.h MotifH
|
||||
metafile.h MotifH
|
||||
minifram.h MotifH
|
||||
msgdlg.h MotifH
|
||||
palette.h MotifH
|
||||
print.h MotifH
|
||||
printdlg.h MotifH
|
||||
private.h MotifH
|
||||
radiobox.h MotifH
|
||||
radiobut.h MotifH
|
||||
|
@@ -1,46 +0,0 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: colordlg.h
|
||||
// Purpose: wxColourDialog class. Use generic version if no
|
||||
// platform-specific implementation.
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 17/09/98
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_COLORDLG_H_
|
||||
#define _WX_COLORDLG_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma interface "colordlg.h"
|
||||
#endif
|
||||
|
||||
#include "wx/setup.h"
|
||||
#include "wx/dialog.h"
|
||||
#include "wx/cmndata.h"
|
||||
|
||||
/*
|
||||
* Platform-specific colour dialog implementation
|
||||
*/
|
||||
|
||||
class WXDLLEXPORT wxColourDialog: public wxDialog
|
||||
{
|
||||
DECLARE_DYNAMIC_CLASS(wxColourDialog)
|
||||
public:
|
||||
wxColourDialog();
|
||||
wxColourDialog(wxWindow *parent, wxColourData *data = NULL);
|
||||
|
||||
bool Create(wxWindow *parent, wxColourData *data = NULL);
|
||||
|
||||
int ShowModal();
|
||||
wxColourData& GetColourData() { return m_colourData; }
|
||||
|
||||
protected:
|
||||
wxColourData m_colourData;
|
||||
wxWindow* m_dialogParent;
|
||||
};
|
||||
|
||||
#endif
|
||||
// _WX_COLORDLG_H_
|
@@ -1,49 +0,0 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: dirdlg.h
|
||||
// Purpose: wxDirDialog class
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 17/09/98
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_DIRDLG_H_
|
||||
#define _WX_DIRDLG_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma interface "dirdlg.h"
|
||||
#endif
|
||||
|
||||
#include "wx/dialog.h"
|
||||
|
||||
WXDLLEXPORT_DATA(extern const char*) wxFileSelectorPromptStr;
|
||||
|
||||
class WXDLLEXPORT wxDirDialog: public wxDialog
|
||||
{
|
||||
DECLARE_DYNAMIC_CLASS(wxDirDialog)
|
||||
public:
|
||||
wxDirDialog(wxWindow *parent, const wxString& message = wxFileSelectorPromptStr,
|
||||
const wxString& defaultPath = "",
|
||||
long style = 0, const wxPoint& pos = wxDefaultPosition);
|
||||
|
||||
inline void SetMessage(const wxString& message) { m_message = message; }
|
||||
inline void SetPath(const wxString& path) { m_path = path; }
|
||||
inline void SetStyle(long style) { m_dialogStyle = style; }
|
||||
|
||||
inline wxString GetMessage() const { return m_message; }
|
||||
inline wxString GetPath() const { return m_path; }
|
||||
inline long GetStyle() const { return m_dialogStyle; }
|
||||
|
||||
int ShowModal();
|
||||
|
||||
protected:
|
||||
wxString m_message;
|
||||
long m_dialogStyle;
|
||||
wxWindow * m_parent;
|
||||
wxString m_path;
|
||||
};
|
||||
|
||||
#endif
|
||||
// _WX_DIRDLG_H_
|
@@ -1,46 +0,0 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: fontdlg.h
|
||||
// Purpose: wxFontDialog class. Use generic version if no
|
||||
// platform-specific implementation.
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 17/09/98
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_FONTDLG_H_
|
||||
#define _WX_FONTDLG_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma interface "fontdlg.h"
|
||||
#endif
|
||||
|
||||
#include "wx/dialog.h"
|
||||
#include "wx/cmndata.h"
|
||||
|
||||
/*
|
||||
* Font dialog
|
||||
*/
|
||||
|
||||
class WXDLLEXPORT wxFontDialog: public wxDialog
|
||||
{
|
||||
DECLARE_DYNAMIC_CLASS(wxFontDialog)
|
||||
public:
|
||||
wxFontDialog();
|
||||
wxFontDialog(wxWindow *parent, wxFontData *data = NULL);
|
||||
|
||||
bool Create(wxWindow *parent, wxFontData *data = NULL);
|
||||
|
||||
int ShowModal();
|
||||
wxFontData& GetFontData() { return m_fontData; }
|
||||
|
||||
protected:
|
||||
wxWindow* m_dialogParent;
|
||||
wxFontData m_fontData;
|
||||
};
|
||||
|
||||
#endif
|
||||
// _WX_FONTDLG_H_
|
||||
|
@@ -1,52 +0,0 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: helpxxxx.h
|
||||
// Purpose: Help system: native implementation for your system. Replace
|
||||
// XXXX with suitable name.
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 17/09/98
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_HELPXXXX_H_
|
||||
#define _WX_HELPXXXX_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma interface "helpxxxx.h"
|
||||
#endif
|
||||
|
||||
#include "wx/wx.h"
|
||||
|
||||
#include "wx/helpbase.h"
|
||||
|
||||
class WXDLLEXPORT wxXXXXHelpController: public wxHelpControllerBase
|
||||
{
|
||||
DECLARE_CLASS(wxXXXXHelpController)
|
||||
|
||||
public:
|
||||
wxXXXXHelpController();
|
||||
~wxXXXXHelpController();
|
||||
|
||||
// Must call this to set the filename and server name
|
||||
virtual bool Initialize(const wxString& file);
|
||||
|
||||
// If file is "", reloads file given in Initialize
|
||||
virtual bool LoadFile(const wxString& file = "");
|
||||
virtual bool DisplayContents();
|
||||
virtual bool DisplaySection(int sectionNo);
|
||||
virtual bool DisplayBlock(long blockNo);
|
||||
virtual bool KeywordSearch(const wxString& k);
|
||||
|
||||
virtual bool Quit();
|
||||
virtual void OnQuit();
|
||||
|
||||
inline wxString GetHelpFile() const { return m_helpFile; }
|
||||
|
||||
protected:
|
||||
wxString m_helpFile;
|
||||
};
|
||||
|
||||
#endif
|
||||
// _WX_HELPXXXX_H_
|
@@ -1,93 +0,0 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: joystick.h
|
||||
// Purpose: wxJoystick class
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 17/09/98
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_JOYSTICK_H_
|
||||
#define _WX_JOYSTICK_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma interface "joystick.h"
|
||||
#endif
|
||||
|
||||
#include "wx/event.h"
|
||||
|
||||
class WXDLLEXPORT wxJoystick: public wxObject
|
||||
{
|
||||
DECLARE_DYNAMIC_CLASS(wxJoystick)
|
||||
public:
|
||||
/*
|
||||
* Public interface
|
||||
*/
|
||||
|
||||
wxJoystick(int joystick = wxJOYSTICK1) { m_joystick = joystick; };
|
||||
|
||||
// Attributes
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
wxPoint GetPosition() const;
|
||||
int GetZPosition() const;
|
||||
int GetButtonState() const;
|
||||
int GetPOVPosition() const;
|
||||
int GetPOVCTSPosition() const;
|
||||
int GetRudderPosition() const;
|
||||
int GetUPosition() const;
|
||||
int GetVPosition() const;
|
||||
int GetMovementThreshold() const;
|
||||
void SetMovementThreshold(int threshold) ;
|
||||
|
||||
// Capabilities
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
bool IsOk() const; // Checks that the joystick is functioning
|
||||
int GetNumberJoysticks() const ;
|
||||
int GetManufacturerId() const ;
|
||||
int GetProductId() const ;
|
||||
wxString GetProductName() const ;
|
||||
int GetXMin() const;
|
||||
int GetYMin() const;
|
||||
int GetZMin() const;
|
||||
int GetXMax() const;
|
||||
int GetYMax() const;
|
||||
int GetZMax() const;
|
||||
int GetNumberButtons() const;
|
||||
int GetNumberAxes() const;
|
||||
int GetMaxButtons() const;
|
||||
int GetMaxAxes() const;
|
||||
int GetPollingMin() const;
|
||||
int GetPollingMax() const;
|
||||
int GetRudderMin() const;
|
||||
int GetRudderMax() const;
|
||||
int GetUMin() const;
|
||||
int GetUMax() const;
|
||||
int GetVMin() const;
|
||||
int GetVMax() const;
|
||||
|
||||
bool HasRudder() const;
|
||||
bool HasZ() const;
|
||||
bool HasU() const;
|
||||
bool HasV() const;
|
||||
bool HasPOV() const;
|
||||
bool HasPOV4Dir() const;
|
||||
bool HasPOVCTS() const;
|
||||
|
||||
// Operations
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// pollingFreq = 0 means that movement events are sent when above the threshold.
|
||||
// If pollingFreq > 0, events are received every this many milliseconds.
|
||||
bool SetCapture(wxWindow* win, int pollingFreq = 0);
|
||||
bool ReleaseCapture();
|
||||
|
||||
protected:
|
||||
int m_joystick;
|
||||
};
|
||||
|
||||
#endif
|
||||
// _WX_JOYSTICK_H_
|
@@ -1,93 +0,0 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: metafile.h
|
||||
// Purpose: wxMetaFile, wxMetaFileDC classes.
|
||||
// This probably should be restricted to Windows platforms,
|
||||
// but if there is an equivalent on your platform, great.
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 17/09/98
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_METAFIILE_H_
|
||||
#define _WX_METAFIILE_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma interface "metafile.h"
|
||||
#endif
|
||||
|
||||
#include "wx/setup.h"
|
||||
|
||||
/*
|
||||
* Metafile and metafile device context classes - work in Windows 3.1 only
|
||||
*
|
||||
*/
|
||||
|
||||
class WXDLLEXPORT wxDC;
|
||||
class WXDLLEXPORT wxMetaFile: public wxObject
|
||||
{
|
||||
DECLARE_DYNAMIC_CLASS(wxMetaFile)
|
||||
public:
|
||||
wxMetaFile(const wxString& file = "");
|
||||
~wxMetaFile();
|
||||
|
||||
// After this is called, the metafile cannot be used for anything
|
||||
// since it is now owned by the clipboard.
|
||||
virtual bool SetClipboard(int width = 0, int height = 0);
|
||||
|
||||
virtual bool Play(wxDC *dc);
|
||||
// TODO
|
||||
inline bool Ok() { return FALSE; };
|
||||
|
||||
};
|
||||
|
||||
class WXDLLEXPORT wxMetaFileDC: public wxDC
|
||||
{
|
||||
DECLARE_DYNAMIC_CLASS(wxMetaFileDC)
|
||||
|
||||
public:
|
||||
// Don't supply origin and extent
|
||||
// Supply them to wxMakeMetaFilePlaceable instead.
|
||||
wxMetaFileDC(const wxString& file = "");
|
||||
|
||||
// Supply origin and extent (recommended).
|
||||
// Then don't need to supply them to wxMakeMetaFilePlaceable.
|
||||
wxMetaFileDC(const wxString& file, int xext, int yext, int xorg, int yorg);
|
||||
|
||||
~wxMetaFileDC();
|
||||
|
||||
// Should be called at end of drawing
|
||||
virtual wxMetaFile *Close();
|
||||
virtual void SetMapMode(int mode);
|
||||
virtual void GetTextExtent(const wxString& string, float *x, float *y,
|
||||
float *descent = NULL, float *externalLeading = NULL,
|
||||
wxFont *theFont = NULL, bool use16bit = FALSE);
|
||||
|
||||
// Implementation
|
||||
inline wxMetaFile *GetMetaFile() { return m_metaFile; }
|
||||
inline void SetMetaFile(wxMetaFile *mf) { m_metaFile = mf; }
|
||||
inline int GetWindowsMappingMode() { return m_windowsMappingMode; }
|
||||
inline void SetWindowsMappingMode(int mm) { m_windowsMappingMode = mm; }
|
||||
|
||||
protected:
|
||||
int m_windowsMappingMode;
|
||||
wxMetaFile *m_metaFile;
|
||||
};
|
||||
|
||||
/*
|
||||
* Pass filename of existing non-placeable metafile, and bounding box.
|
||||
* Adds a placeable metafile header, sets the mapping mode to anisotropic,
|
||||
* and sets the window origin and extent to mimic the wxMM_TEXT mapping mode.
|
||||
*
|
||||
*/
|
||||
|
||||
// No origin or extent
|
||||
bool WXDLLEXPORT wxMakeMetaFilePlaceable(const wxString& filename, float scale = 1.0);
|
||||
|
||||
// Optional origin and extent
|
||||
bool WXDLLEXPORT wxMakeMetaFilePlaceable(const wxString& filename, int x1, int y1, int x2, int y2, float scale = 1.0, bool useOriginAndExtent = TRUE);
|
||||
|
||||
#endif
|
||||
// _WX_METAFIILE_H_
|
@@ -1,70 +0,0 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: printdlg.h
|
||||
// Purpose: wxPrintDialog, wxPageSetupDialog classes.
|
||||
// Use generic, PostScript version if no
|
||||
// platform-specific implementation.
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 17/09/98
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_PRINTDLG_H_
|
||||
#define _WX_PRINTDLG_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma interface "printdlg.h"
|
||||
#endif
|
||||
|
||||
#include "wx/dialog.h"
|
||||
#include "wx/cmndata.h"
|
||||
|
||||
/*
|
||||
* wxPrinterDialog
|
||||
* The common dialog for printing.
|
||||
*/
|
||||
|
||||
class WXDLLEXPORT wxDC;
|
||||
class WXDLLEXPORT wxPrintDialog: public wxDialog
|
||||
{
|
||||
DECLARE_DYNAMIC_CLASS(wxPrintDialog)
|
||||
|
||||
public:
|
||||
wxPrintDialog();
|
||||
wxPrintDialog(wxWindow *parent, wxPrintData* data = NULL);
|
||||
~wxPrintDialog();
|
||||
|
||||
bool Create(wxWindow *parent, wxPrintData* data = NULL);
|
||||
virtual int ShowModal();
|
||||
|
||||
inline wxPrintData& GetPrintData() { return m_printData; }
|
||||
virtual wxDC *GetPrintDC();
|
||||
|
||||
private:
|
||||
wxPrintData m_printData;
|
||||
wxDC* m_printerDC;
|
||||
wxWindow* m_dialogParent;
|
||||
};
|
||||
|
||||
class WXDLLEXPORT wxPageSetupDialog: public wxDialog
|
||||
{
|
||||
DECLARE_DYNAMIC_CLASS(wxPageSetupDialog)
|
||||
|
||||
private:
|
||||
wxPageSetupData m_pageSetupData;
|
||||
wxWindow* m_dialogParent;
|
||||
public:
|
||||
wxPageSetupDialog();
|
||||
wxPageSetupDialog(wxWindow *parent, wxPageSetupData *data = NULL);
|
||||
~wxPageSetupDialog();
|
||||
|
||||
bool Create(wxWindow *parent, wxPageSetupData *data = NULL);
|
||||
virtual int ShowModal();
|
||||
|
||||
inline wxPageSetupData& GetPageSetupData() { return m_pageSetupData; }
|
||||
};
|
||||
|
||||
#endif
|
||||
// _WX_PRINTDLG_H_
|
@@ -1,138 +0,0 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: tabctrl.h
|
||||
// Purpose: wxTabCtrl class
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 17/09/98
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_TABCTRL_H_
|
||||
#define _WX_TABCTRL_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma interface "tabctrl.h"
|
||||
#endif
|
||||
|
||||
class wxImageList;
|
||||
|
||||
/*
|
||||
* Flags returned by HitTest
|
||||
*/
|
||||
|
||||
#define wxTAB_HITTEST_NOWHERE 1
|
||||
#define wxTAB_HITTEST_ONICON 2
|
||||
#define wxTAB_HITTEST_ONLABEL 4
|
||||
#define wxTAB_HITTEST_ONITEM 6
|
||||
|
||||
class WXDLLEXPORT wxTabCtrl: public wxControl
|
||||
{
|
||||
DECLARE_DYNAMIC_CLASS(wxTabCtrl)
|
||||
public:
|
||||
/*
|
||||
* Public interface
|
||||
*/
|
||||
|
||||
wxTabCtrl();
|
||||
|
||||
inline wxTabCtrl(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
|
||||
long style = 0, const wxString& name = "tabCtrl")
|
||||
{
|
||||
Create(parent, id, pos, size, style, name);
|
||||
}
|
||||
~wxTabCtrl();
|
||||
|
||||
// Accessors
|
||||
|
||||
// Get the selection
|
||||
int GetSelection() const;
|
||||
|
||||
// Get the tab with the current keyboard focus
|
||||
int GetCurFocus() const;
|
||||
|
||||
// Get the associated image list
|
||||
wxImageList* GetImageList() const;
|
||||
|
||||
// Get the number of items
|
||||
int GetItemCount() const;
|
||||
|
||||
// Get the rect corresponding to the tab
|
||||
bool GetItemRect(int item, wxRect& rect) const;
|
||||
|
||||
// Get the number of rows
|
||||
int GetRowCount() const;
|
||||
|
||||
// Get the item text
|
||||
wxString GetItemText(int item) const ;
|
||||
|
||||
// Get the item image
|
||||
int GetItemImage(int item) const;
|
||||
|
||||
// Get the item data
|
||||
void* GetItemData(int item) const;
|
||||
|
||||
// Set the selection
|
||||
int SetSelection(int item);
|
||||
|
||||
// Set the image list
|
||||
void SetImageList(wxImageList* imageList);
|
||||
|
||||
// Set the text for an item
|
||||
bool SetItemText(int item, const wxString& text);
|
||||
|
||||
// Set the image for an item
|
||||
bool SetItemImage(int item, int image);
|
||||
|
||||
// Set the data for an item
|
||||
bool SetItemData(int item, void* data);
|
||||
|
||||
// Set the size for a fixed-width tab control
|
||||
void SetItemSize(const wxSize& size);
|
||||
|
||||
// Set the padding between tabs
|
||||
void SetPadding(const wxSize& padding);
|
||||
|
||||
// Operations
|
||||
|
||||
bool Create(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
|
||||
long style = 0, const wxString& name = "tabCtrl");
|
||||
|
||||
// Delete all items
|
||||
bool DeleteAllItems();
|
||||
|
||||
// Delete an item
|
||||
bool DeleteItem(int item);
|
||||
|
||||
// Hit test
|
||||
int HitTest(const wxPoint& pt, long& flags);
|
||||
|
||||
// Insert an item
|
||||
bool InsertItem(int item, const wxString& text, int imageId = -1, void* data = NULL);
|
||||
|
||||
void Command(wxCommandEvent& event);
|
||||
|
||||
protected:
|
||||
wxImageList* m_imageList;
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
||||
class WXDLLEXPORT wxTabEvent: public wxCommandEvent
|
||||
{
|
||||
DECLARE_DYNAMIC_CLASS(wxTabEvent)
|
||||
|
||||
public:
|
||||
wxTabEvent(wxEventType commandType = wxEVT_NULL, int id = 0);
|
||||
};
|
||||
|
||||
typedef void (wxEvtHandler::*wxTabEventFunction)(wxTabEvent&);
|
||||
|
||||
#define EVT_TAB_SEL_CHANGED(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_COMMAND_TAB_SEL_CHANGED, \
|
||||
id, -1, (wxObjectEventFunction) (wxEventFunction) (wxTabEventFunction) & fn, NULL ),
|
||||
#define EVT_TAB_SEL_CHANGING(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_COMMAND_TAB_SEL_CHANGING, \
|
||||
id, -1, (wxObjectEventFunction) (wxEventFunction) (wxTabEventFunction) & fn, NULL ),
|
||||
|
||||
#endif
|
||||
// _WX_TABCTRL_H_
|
@@ -1,49 +0,0 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// File: taskbar.h
|
||||
// Purpose: Defines wxTaskBarIcon class for manipulating icons on the
|
||||
// task bar. Optional.
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 17/09/98
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c)
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_TASKBAR_H_
|
||||
#define _WX_TASKBAR_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma interface "taskbar.h"
|
||||
#endif
|
||||
|
||||
#include "wx/list.h"
|
||||
#include "wx/icon.h"
|
||||
|
||||
class wxTaskBarIcon: public wxObject
|
||||
{
|
||||
public:
|
||||
wxTaskBarIcon();
|
||||
virtual ~wxTaskBarIcon();
|
||||
|
||||
// Accessors
|
||||
|
||||
// Operations
|
||||
bool SetIcon(const wxIcon& icon, const wxString& tooltip = "");
|
||||
bool RemoveIcon();
|
||||
|
||||
// Overridables
|
||||
virtual void OnMouseMove();
|
||||
virtual void OnLButtonDown();
|
||||
virtual void OnLButtonUp();
|
||||
virtual void OnRButtonDown();
|
||||
virtual void OnRButtonUp();
|
||||
virtual void OnLButtonDClick();
|
||||
virtual void OnRButtonDClick();
|
||||
|
||||
// Data members
|
||||
protected:
|
||||
};
|
||||
|
||||
#endif
|
||||
// _WX_TASKBAR_H_
|
@@ -1,44 +0,0 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: wave.h
|
||||
// Purpose: wxWave class (loads and plays short Windows .wav files).
|
||||
// Optional on non-Windows platforms.
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 17/09/98
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_WAVE_H_
|
||||
#define _WX_WAVE_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma interface "wave.h"
|
||||
#endif
|
||||
|
||||
#include "wx/object.h"
|
||||
|
||||
class wxWave : public wxObject
|
||||
{
|
||||
public:
|
||||
wxWave();
|
||||
wxWave(const wxString& fileName, bool isResource = FALSE);
|
||||
~wxWave();
|
||||
|
||||
public:
|
||||
bool Create(const wxString& fileName, bool isResource = FALSE);
|
||||
bool IsOk() const { return (m_waveData ? TRUE : FALSE); };
|
||||
bool Play(bool async = TRUE, bool looped = FALSE) const;
|
||||
|
||||
protected:
|
||||
bool Free();
|
||||
|
||||
private:
|
||||
char* m_waveData;
|
||||
int m_waveLength;
|
||||
bool m_isResource;
|
||||
};
|
||||
|
||||
#endif
|
||||
// _WX_WAVE_H_
|
@@ -143,6 +143,7 @@ ALL_SOURCES = \
|
||||
common/quantize.cpp \
|
||||
common/radiocmn.cpp \
|
||||
common/regex.cpp \
|
||||
common/rgncmn.cpp \
|
||||
common/sckaddr.cpp \
|
||||
common/sckfile.cpp \
|
||||
common/sckipc.cpp \
|
||||
@@ -374,6 +375,8 @@ ALL_HEADERS = \
|
||||
ioswrap.h \
|
||||
ipc.h \
|
||||
ipcbase.h \
|
||||
isql.h \
|
||||
isqlext.h \
|
||||
joystick.h \
|
||||
layout.h \
|
||||
laywin.h \
|
||||
@@ -416,6 +419,7 @@ ALL_HEADERS = \
|
||||
quantize.h \
|
||||
radiobox.h \
|
||||
radiobut.h \
|
||||
rawbmp.h \
|
||||
regex.h \
|
||||
region.h \
|
||||
sashwin.h \
|
||||
@@ -693,6 +697,7 @@ COMMONOBJS = \
|
||||
quantize.o \
|
||||
radiocmn.o \
|
||||
regex.o \
|
||||
rgncmn.o \
|
||||
sckaddr.o \
|
||||
sckfile.o \
|
||||
sckipc.o \
|
||||
|
@@ -70,9 +70,6 @@ GENERICOBJS= accel.obj &
|
||||
printps.obj &
|
||||
prntdlgg.obj &
|
||||
progdlgg.obj &
|
||||
prop.obj &
|
||||
propform.obj &
|
||||
proplist.obj &
|
||||
sashwin.obj &
|
||||
scrlwing.obj &
|
||||
spinctlg.obj &
|
||||
@@ -85,7 +82,6 @@ GENERICOBJS= accel.obj &
|
||||
tipdlg.obj &
|
||||
tipwin.obj &
|
||||
treectlg.obj &
|
||||
treelay.obj &
|
||||
wizard.obj
|
||||
|
||||
COMMONOBJS = &
|
||||
@@ -186,7 +182,6 @@ COMMONOBJS = &
|
||||
quantize.obj &
|
||||
radiocmn.obj &
|
||||
regex.obj &
|
||||
resource.obj &
|
||||
rgncmn.obj &
|
||||
sckaddr.obj &
|
||||
sckfile.obj &
|
||||
@@ -219,7 +214,6 @@ COMMONOBJS = &
|
||||
wfstream.obj &
|
||||
wincmn.obj &
|
||||
wxchar.obj &
|
||||
wxexpr.obj &
|
||||
xpmdecod.obj &
|
||||
zipstrm.obj &
|
||||
zstream.obj
|
||||
@@ -824,9 +818,6 @@ radiocmn.obj: $(COMMDIR)\radiocmn.cpp
|
||||
regex.obj: $(COMMDIR)\regex.cpp
|
||||
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
resource.obj: $(COMMDIR)\resource.cpp
|
||||
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
rgncmn.obj: $(COMMDIR)\rgncmn.cpp
|
||||
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
@@ -923,9 +914,6 @@ wincmn.obj: $(COMMDIR)\wincmn.cpp
|
||||
wxchar.obj: $(COMMDIR)\wxchar.cpp
|
||||
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
wxexpr.obj: $(COMMDIR)\wxexpr.cpp
|
||||
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
xpmdecod.obj: $(COMMDIR)\xpmdecod.cpp
|
||||
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
@@ -1042,15 +1030,6 @@ prntdlgg.obj: $(GENDIR)\prntdlgg.cpp
|
||||
progdlgg.obj: $(GENDIR)\progdlgg.cpp
|
||||
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
prop.obj: $(GENDIR)\prop.cpp
|
||||
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
propform.obj: $(GENDIR)\propform.cpp
|
||||
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
proplist.obj: $(GENDIR)\proplist.cpp
|
||||
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
sashwin.obj: $(GENDIR)\sashwin.cpp
|
||||
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
@@ -1087,9 +1066,6 @@ tipwin.obj: $(GENDIR)\tipwin.cpp
|
||||
treectlg.obj: $(GENDIR)\treectlg.cpp
|
||||
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
treelay.obj: $(GENDIR)\treelay.cpp
|
||||
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
wizard.obj: $(GENDIR)\wizard.cpp
|
||||
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
|
@@ -30,9 +30,6 @@ ALL_SOURCES = \
|
||||
generic/printps.cpp \
|
||||
generic/prntdlgg.cpp \
|
||||
generic/progdlgg.cpp \
|
||||
generic/prop.cpp \
|
||||
generic/propform.cpp \
|
||||
generic/proplist.cpp \
|
||||
generic/sashwin.cpp \
|
||||
generic/scrlwing.cpp \
|
||||
generic/spinctlg.cpp \
|
||||
@@ -44,7 +41,6 @@ ALL_SOURCES = \
|
||||
generic/tipdlg.cpp \
|
||||
generic/tipwin.cpp \
|
||||
generic/treectlg.cpp \
|
||||
generic/treelay.cpp \
|
||||
generic/wizard.cpp \
|
||||
common/accesscmn.cpp \
|
||||
common/appcmn.cpp \
|
||||
@@ -141,7 +137,6 @@ ALL_SOURCES = \
|
||||
common/quantize.cpp \
|
||||
common/radiocmn.cpp \
|
||||
common/regex.cpp \
|
||||
common/resource.cpp \
|
||||
common/rgncmn.cpp \
|
||||
common/sckaddr.cpp \
|
||||
common/sckfile.cpp \
|
||||
@@ -174,7 +169,6 @@ ALL_SOURCES = \
|
||||
common/wfstream.cpp \
|
||||
common/wincmn.cpp \
|
||||
common/wxchar.cpp \
|
||||
common/wxexpr.cpp \
|
||||
common/xpmdecod.cpp \
|
||||
common/zipstrm.cpp \
|
||||
common/zstream.cpp \
|
||||
@@ -303,7 +297,6 @@ ALL_HEADERS = \
|
||||
effects.h \
|
||||
encconv.h \
|
||||
event.h \
|
||||
expr.h \
|
||||
fdrepdlg.h \
|
||||
features.h \
|
||||
ffile.h \
|
||||
@@ -396,16 +389,12 @@ ALL_HEADERS = \
|
||||
prntbase.h \
|
||||
process.h \
|
||||
progdlg.h \
|
||||
prop.h \
|
||||
propform.h \
|
||||
proplist.h \
|
||||
quantize.h \
|
||||
radiobox.h \
|
||||
radiobut.h \
|
||||
rawbmp.h \
|
||||
regex.h \
|
||||
region.h \
|
||||
resource.h \
|
||||
sashwin.h \
|
||||
sckaddr.h \
|
||||
sckipc.h \
|
||||
@@ -472,7 +461,6 @@ ALL_HEADERS = \
|
||||
wx_cw_cm.h \
|
||||
wx_cw_d.h \
|
||||
wxchar.h \
|
||||
wxexpr.h \
|
||||
wxhtml.h \
|
||||
wxprec.h \
|
||||
xpmdecod.h \
|
||||
@@ -730,7 +718,6 @@ COMMONOBJS = \
|
||||
quantize.o \
|
||||
radiocmn.o \
|
||||
regex.o \
|
||||
resource.o \
|
||||
rgncmn.o \
|
||||
sckaddr.o \
|
||||
sckfile.o \
|
||||
@@ -763,7 +750,6 @@ COMMONOBJS = \
|
||||
wfstream.o \
|
||||
wincmn.o \
|
||||
wxchar.o \
|
||||
wxexpr.o \
|
||||
xpmdecod.o \
|
||||
zipstrm.o \
|
||||
zstream.o
|
||||
@@ -798,9 +784,6 @@ GENERICOBJS = \
|
||||
printps.o \
|
||||
prntdlgg.o \
|
||||
progdlgg.o \
|
||||
prop.o \
|
||||
propform.o \
|
||||
proplist.o \
|
||||
sashwin.o \
|
||||
scrlwing.o \
|
||||
spinctlg.o \
|
||||
@@ -812,7 +795,6 @@ GENERICOBJS = \
|
||||
tipdlg.o \
|
||||
tipwin.o \
|
||||
treectlg.o \
|
||||
treelay.o \
|
||||
wizard.o
|
||||
|
||||
GUI_LOWLEVEL_OBJS = \
|
||||
|
@@ -1 +0,0 @@
|
||||
Makefile.in
|
@@ -1,51 +0,0 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: colordlg.cpp
|
||||
// Purpose: wxColourDialog class. NOTE: you can use the generic class
|
||||
// if you wish, instead of implementing this.
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 17/09/98
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation "colordlg.h"
|
||||
#endif
|
||||
|
||||
#include "wx/motif/colordlg.h"
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxColourDialog, wxDialog)
|
||||
|
||||
/*
|
||||
* wxColourDialog
|
||||
*/
|
||||
|
||||
wxColourDialog::wxColourDialog()
|
||||
{
|
||||
m_dialogParent = NULL;
|
||||
}
|
||||
|
||||
wxColourDialog::wxColourDialog(wxWindow *parent, wxColourData *data)
|
||||
{
|
||||
Create(parent, data);
|
||||
}
|
||||
|
||||
bool wxColourDialog::Create(wxWindow *parent, wxColourData *data)
|
||||
{
|
||||
m_dialogParent = parent;
|
||||
|
||||
if (data)
|
||||
m_colourData = *data;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
int wxColourDialog::ShowModal()
|
||||
{
|
||||
/* TODO: implement dialog
|
||||
*/
|
||||
|
||||
return wxID_CANCEL;
|
||||
}
|
||||
|
@@ -1,40 +0,0 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: dirdlg.cpp
|
||||
// Purpose: wxDirDialog
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 17/09/98
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation "dirdlg.h"
|
||||
#endif
|
||||
|
||||
#include "wx/defs.h"
|
||||
#include "wx/utils.h"
|
||||
#include "wx/dialog.h"
|
||||
#include "wx/dirdlg.h"
|
||||
|
||||
#include "wx/cmndata.h"
|
||||
|
||||
IMPLEMENT_CLASS(wxDirDialog, wxDialog)
|
||||
|
||||
wxDirDialog::wxDirDialog(wxWindow *parent, const wxString& message,
|
||||
const wxString& defaultPath,
|
||||
long style, const wxPoint& pos)
|
||||
{
|
||||
m_message = message;
|
||||
m_dialogStyle = style;
|
||||
m_parent = parent;
|
||||
m_path = defaultPath;
|
||||
}
|
||||
|
||||
int wxDirDialog::ShowModal()
|
||||
{
|
||||
// TODO
|
||||
return wxID_CANCEL;
|
||||
}
|
||||
|
@@ -207,7 +207,6 @@ ALL_SOURCES = \
|
||||
motif/glcanvas.cpp \
|
||||
motif/gsockmot.c \
|
||||
motif/icon.cpp \
|
||||
motif/joystick.cpp \
|
||||
motif/listbox.cpp \
|
||||
motif/main.cpp \
|
||||
motif/mdi.cpp \
|
||||
@@ -514,7 +513,6 @@ ALL_HEADERS = \
|
||||
motif/checklst.h \
|
||||
motif/choice.h \
|
||||
motif/clipbrd.h \
|
||||
motif/colordlg.h \
|
||||
motif/colour.h \
|
||||
motif/combobox.h \
|
||||
motif/control.h \
|
||||
@@ -530,23 +528,19 @@ ALL_HEADERS = \
|
||||
motif/dnd.h \
|
||||
motif/filedlg.h \
|
||||
motif/font.h \
|
||||
motif/fontdlg.h \
|
||||
motif/frame.h \
|
||||
motif/gauge.h \
|
||||
motif/gdiobj.h \
|
||||
motif/glcanvas.h \
|
||||
motif/icon.h \
|
||||
motif/joystick.h \
|
||||
motif/listbox.h \
|
||||
motif/mdi.h \
|
||||
motif/menu.h \
|
||||
motif/menuitem.h \
|
||||
motif/metafile.h \
|
||||
motif/minifram.h \
|
||||
motif/msgdlg.h \
|
||||
motif/palette.h \
|
||||
motif/print.h \
|
||||
motif/printdlg.h \
|
||||
motif/private.h \
|
||||
motif/radiobox.h \
|
||||
motif/radiobut.h \
|
||||
@@ -841,7 +835,6 @@ GUIOBJS = \
|
||||
glcanvas.o \
|
||||
gsockmot.o \
|
||||
icon.o \
|
||||
joystick.o \
|
||||
listbox.o \
|
||||
main.o \
|
||||
mdi.o \
|
||||
|
@@ -1,53 +0,0 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: fontdlg.cpp
|
||||
// Purpose: wxFontDialog class. NOTE: you can use the generic class
|
||||
// if you wish, instead of implementing this.
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 17/09/98
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation "fontdlg.h"
|
||||
#endif
|
||||
|
||||
#include "wx/motif/fontdlg.h"
|
||||
#include "wx/cmndata.h"
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog)
|
||||
|
||||
/*
|
||||
* wxFontDialog
|
||||
*/
|
||||
|
||||
wxFontDialog::wxFontDialog()
|
||||
{
|
||||
m_dialogParent = NULL;
|
||||
}
|
||||
|
||||
wxFontDialog::wxFontDialog(wxWindow *parent, wxFontData *data)
|
||||
{
|
||||
Create(parent, data);
|
||||
}
|
||||
|
||||
bool wxFontDialog::Create(wxWindow *parent, wxFontData *data)
|
||||
{
|
||||
m_dialogParent = parent;
|
||||
|
||||
if (data)
|
||||
m_fontData = *data;
|
||||
|
||||
// TODO: you may need to do dialog creation here, unless it's
|
||||
// done in ShowModal.
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
int wxFontDialog::ShowModal()
|
||||
{
|
||||
// TODO: show (maybe create) the dialog
|
||||
return wxID_CANCEL;
|
||||
}
|
||||
|
@@ -1,81 +0,0 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: helpxxxx.cpp
|
||||
// Purpose: Help system: native implementation
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 17/09/98
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation "helpxxxx.h"
|
||||
#endif
|
||||
|
||||
#include "wx/motif/helpxxxx.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxXXXXHelpController, wxHelpControllerBase)
|
||||
|
||||
wxXXXXHelpController::wxXXXXHelpController()
|
||||
{
|
||||
m_helpFile = "";
|
||||
}
|
||||
|
||||
wxXXXXHelpController::~wxXXXXHelpController()
|
||||
{
|
||||
}
|
||||
|
||||
bool wxXXXXHelpController::Initialize(const wxString& filename)
|
||||
{
|
||||
m_helpFile = filename;
|
||||
// TODO any other inits
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
bool wxXXXXHelpController::LoadFile(const wxString& file)
|
||||
{
|
||||
m_helpFile = file;
|
||||
// TODO
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
bool wxXXXXHelpController::DisplayContents()
|
||||
{
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
bool wxXXXXHelpController::DisplaySection(int section)
|
||||
{
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
bool wxXXXXHelpController::DisplayBlock(long block)
|
||||
{
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
bool wxXXXXHelpController::KeywordSearch(const wxString& k)
|
||||
{
|
||||
if (m_helpFile == "") return FALSE;
|
||||
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
// Can't close the help window explicitly in WinHelp
|
||||
bool wxXXXXHelpController::Quit()
|
||||
{
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
void wxXXXXHelpController::OnQuit()
|
||||
{
|
||||
}
|
||||
|
@@ -1,284 +0,0 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: joystick.cpp
|
||||
// Purpose: wxJoystick class
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 17/09/98
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation "joystick.h"
|
||||
#endif
|
||||
|
||||
// Not implemented in wxMotif
|
||||
#if 0
|
||||
|
||||
#include "wx/joystick.h"
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
|
||||
|
||||
// Attributes
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
wxPoint wxJoystick::GetPosition() const
|
||||
{
|
||||
// TODO
|
||||
return wxPoint(0, 0);
|
||||
}
|
||||
|
||||
int wxJoystick::GetZPosition() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
int wxJoystick::GetButtonState() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
int wxJoystick::GetPOVPosition() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
int wxJoystick::GetPOVCTSPosition() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
int wxJoystick::GetRudderPosition() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
int wxJoystick::GetUPosition() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
int wxJoystick::GetVPosition() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
int wxJoystick::GetMovementThreshold() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
void wxJoystick::SetMovementThreshold(int threshold)
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
// Capabilities
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
bool wxJoystick::IsOk() const
|
||||
{
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
int wxJoystick::GetNumberJoysticks() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
int wxJoystick::GetManufacturerId() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
int wxJoystick::GetProductId() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
wxString wxJoystick::GetProductName() const
|
||||
{
|
||||
// TODO
|
||||
return wxString("");
|
||||
}
|
||||
|
||||
int wxJoystick::GetXMin() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
int wxJoystick::GetYMin() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
int wxJoystick::GetZMin() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
int wxJoystick::GetXMax() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
int wxJoystick::GetYMax() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
int wxJoystick::GetZMax() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
int wxJoystick::GetNumberButtons() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
int wxJoystick::GetNumberAxes() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
int wxJoystick::GetMaxButtons() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
int wxJoystick::GetMaxAxes() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
int wxJoystick::GetPollingMin() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
int wxJoystick::GetPollingMax() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
int wxJoystick::GetRudderMin() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
int wxJoystick::GetRudderMax() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
int wxJoystick::GetUMin() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
int wxJoystick::GetUMax() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
int wxJoystick::GetVMin() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
int wxJoystick::GetVMax() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool wxJoystick::HasRudder() const
|
||||
{
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
bool wxJoystick::HasZ() const
|
||||
{
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
bool wxJoystick::HasU() const
|
||||
{
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
bool wxJoystick::HasV() const
|
||||
{
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
bool wxJoystick::HasPOV() const
|
||||
{
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
bool wxJoystick::HasPOV4Dir() const
|
||||
{
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
bool wxJoystick::HasPOVCTS() const
|
||||
{
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
// Operations
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
bool wxJoystick::SetCapture(wxWindow* win, int pollingFreq)
|
||||
{
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
bool wxJoystick::ReleaseCapture()
|
||||
{
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
#endif
|
||||
// 0
|
@@ -1,237 +0,0 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: metafile.cpp
|
||||
// Purpose: wxMetaFile, wxMetaFileDC etc. These classes are optional.
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 04/01/98
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation "metafile.h"
|
||||
#endif
|
||||
|
||||
#include "wx/object.h"
|
||||
#include "wx/string.h"
|
||||
#include "wx/dc.h"
|
||||
#include "wx/motif/metafile.h"
|
||||
#include "wx/clipbrd.h"
|
||||
|
||||
extern bool wxClipboardIsOpen;
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxMetaFile, wxObject)
|
||||
IMPLEMENT_ABSTRACT_CLASS(wxMetaFileDC, wxDC)
|
||||
|
||||
wxMetaFile::wxMetaFile(const wxString& file)
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
wxMetaFile::~wxMetaFile()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
bool wxMetaFile::SetClipboard(int width, int height)
|
||||
{
|
||||
bool alreadyOpen=wxClipboardOpen();
|
||||
if (!alreadyOpen)
|
||||
{
|
||||
wxOpenClipboard();
|
||||
if (!wxEmptyClipboard()) return FALSE;
|
||||
}
|
||||
bool success = wxSetClipboardData(wxDF_METAFILE,this, width,height);
|
||||
if (!alreadyOpen) wxCloseClipboard();
|
||||
return (bool) success;
|
||||
}
|
||||
|
||||
bool wxMetaFile::Play(wxDC *dc)
|
||||
{
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/*
|
||||
* Metafile device context
|
||||
*
|
||||
*/
|
||||
|
||||
// Original constructor that does not takes origin and extent. If you use this,
|
||||
// *DO* give origin/extent arguments to wxMakeMetaFilePlaceable.
|
||||
wxMetaFileDC::wxMetaFileDC(const wxString& file)
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
// New constructor that takes origin and extent. If you use this, don't
|
||||
// give origin/extent arguments to wxMakeMetaFilePlaceable.
|
||||
wxMetaFileDC::wxMetaFileDC(const wxString& file, int xext, int yext, int xorg, int yorg)
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
wxMetaFileDC::~wxMetaFileDC()
|
||||
{
|
||||
}
|
||||
|
||||
void wxMetaFileDC::GetTextExtent(const wxString& string, float *x, float *y,
|
||||
float *descent, float *externalLeading, wxFont *theFont, bool use16bit)
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
wxMetaFile *wxMetaFileDC::Close()
|
||||
{
|
||||
// TODO
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void wxMetaFileDC::SetMapMode(int mode)
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
||||
#ifdef __WIN32__
|
||||
struct RECT32
|
||||
{
|
||||
short left;
|
||||
short top;
|
||||
short right;
|
||||
short bottom;
|
||||
};
|
||||
|
||||
struct mfPLACEABLEHEADER {
|
||||
DWORD key;
|
||||
short hmf;
|
||||
RECT32 bbox;
|
||||
WORD inch;
|
||||
DWORD reserved;
|
||||
WORD checksum;
|
||||
};
|
||||
#else
|
||||
struct mfPLACEABLEHEADER {
|
||||
DWORD key;
|
||||
HANDLE hmf;
|
||||
RECT bbox;
|
||||
WORD inch;
|
||||
DWORD reserved;
|
||||
WORD checksum;
|
||||
};
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Pass filename of existing non-placeable metafile, and bounding box.
|
||||
* Adds a placeable metafile header, sets the mapping mode to anisotropic,
|
||||
* and sets the window origin and extent to mimic the wxMM_TEXT mapping mode.
|
||||
*
|
||||
*/
|
||||
|
||||
bool wxMakeMetaFilePlaceable(const wxString& filename, float scale)
|
||||
{
|
||||
return wxMakeMetaFilePlaceable(filename, 0, 0, 0, 0, scale, FALSE);
|
||||
}
|
||||
|
||||
bool wxMakeMetaFilePlaceable(const wxString& filename, int x1, int y1, int x2, int y2, float scale, bool useOriginAndExtent)
|
||||
{
|
||||
// I'm not sure if this is the correct way of suggesting a scale
|
||||
// to the client application, but it's the only way I can find.
|
||||
int unitsPerInch = (int)(576/scale);
|
||||
|
||||
mfPLACEABLEHEADER header;
|
||||
header.key = 0x9AC6CDD7L;
|
||||
header.hmf = 0;
|
||||
header.bbox.left = (int)(x1);
|
||||
header.bbox.top = (int)(y1);
|
||||
header.bbox.right = (int)(x2);
|
||||
header.bbox.bottom = (int)(y2);
|
||||
header.inch = unitsPerInch;
|
||||
header.reserved = 0;
|
||||
|
||||
// Calculate checksum
|
||||
WORD *p;
|
||||
mfPLACEABLEHEADER *pMFHead = &header;
|
||||
for (p =(WORD *)pMFHead,pMFHead -> checksum = 0;
|
||||
p < (WORD *)&pMFHead ->checksum; ++p)
|
||||
pMFHead ->checksum ^= *p;
|
||||
|
||||
FILE *fd = fopen((char *)(const char *)filename, "rb");
|
||||
if (!fd) return FALSE;
|
||||
|
||||
char tempFileBuf[256];
|
||||
wxGetTempFileName("mf", tempFileBuf);
|
||||
FILE *fHandle = fopen(tempFileBuf, "wb");
|
||||
if (!fHandle)
|
||||
return FALSE;
|
||||
fwrite((void *)&header, sizeof(unsigned char), sizeof(mfPLACEABLEHEADER), fHandle);
|
||||
|
||||
// Calculate origin and extent
|
||||
int originX = x1;
|
||||
int originY = y1;
|
||||
int extentX = x2 - x1;
|
||||
int extentY = (y2 - y1);
|
||||
|
||||
// Read metafile header and write
|
||||
METAHEADER metaHeader;
|
||||
fread((void *)&metaHeader, sizeof(unsigned char), sizeof(metaHeader), fd);
|
||||
|
||||
if (useOriginAndExtent)
|
||||
metaHeader.mtSize += 15;
|
||||
else
|
||||
metaHeader.mtSize += 5;
|
||||
|
||||
fwrite((void *)&metaHeader, sizeof(unsigned char), sizeof(metaHeader), fHandle);
|
||||
|
||||
// Write SetMapMode, SetWindowOrigin and SetWindowExt records
|
||||
char modeBuffer[8];
|
||||
char originBuffer[10];
|
||||
char extentBuffer[10];
|
||||
METARECORD *modeRecord = (METARECORD *)&modeBuffer;
|
||||
|
||||
METARECORD *originRecord = (METARECORD *)&originBuffer;
|
||||
METARECORD *extentRecord = (METARECORD *)&extentBuffer;
|
||||
|
||||
modeRecord->rdSize = 4;
|
||||
modeRecord->rdFunction = META_SETMAPMODE;
|
||||
modeRecord->rdParm[0] = wxMM_ANISOTROPIC;
|
||||
|
||||
originRecord->rdSize = 5;
|
||||
originRecord->rdFunction = META_SETWINDOWORG;
|
||||
originRecord->rdParm[0] = originY;
|
||||
originRecord->rdParm[1] = originX;
|
||||
|
||||
extentRecord->rdSize = 5;
|
||||
extentRecord->rdFunction = META_SETWINDOWEXT;
|
||||
extentRecord->rdParm[0] = extentY;
|
||||
extentRecord->rdParm[1] = extentX;
|
||||
|
||||
fwrite((void *)modeBuffer, sizeof(char), 8, fHandle);
|
||||
|
||||
if (useOriginAndExtent)
|
||||
{
|
||||
fwrite((void *)originBuffer, sizeof(char), 10, fHandle);
|
||||
fwrite((void *)extentBuffer, sizeof(char), 10, fHandle);
|
||||
}
|
||||
|
||||
int ch = -2;
|
||||
while (ch != EOF)
|
||||
{
|
||||
ch = getc(fd);
|
||||
if (ch != EOF)
|
||||
{
|
||||
putc(ch, fHandle);
|
||||
}
|
||||
}
|
||||
fclose(fHandle);
|
||||
fclose(fd);
|
||||
wxRemoveFile(filename);
|
||||
wxCopyFile(tempFileBuf, filename);
|
||||
wxRemoveFile(tempFileBuf);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@@ -1,113 +0,0 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: printdlg.cpp
|
||||
// Purpose: wxPrintDialog, wxPageSetupDialog
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 17/09/98
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation "printdlg.h"
|
||||
#endif
|
||||
|
||||
#include "wx/object.h"
|
||||
#include "wx/motif/printdlg.h"
|
||||
#include "wx/dcprint.h"
|
||||
|
||||
// Use generic page setup dialog: use your own native one if one exists.
|
||||
#include "wx/generic/prntdlgg.h"
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxPrintDialog, wxDialog)
|
||||
IMPLEMENT_CLASS(wxPageSetupDialog, wxDialog)
|
||||
|
||||
wxPrintDialog::wxPrintDialog():
|
||||
wxDialog()
|
||||
{
|
||||
m_dialogParent = NULL;
|
||||
m_printerDC = NULL;
|
||||
}
|
||||
|
||||
wxPrintDialog::wxPrintDialog(wxWindow *p, wxPrintData* data):
|
||||
wxDialog()
|
||||
{
|
||||
Create(p, data);
|
||||
}
|
||||
|
||||
bool wxPrintDialog::Create(wxWindow *p, wxPrintData* data)
|
||||
{
|
||||
m_dialogParent = p;
|
||||
m_printerDC = NULL;
|
||||
|
||||
if ( data )
|
||||
m_printData = *data;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
wxPrintDialog::~wxPrintDialog()
|
||||
{
|
||||
if (m_printerDC)
|
||||
delete m_printerDC;
|
||||
}
|
||||
|
||||
int wxPrintDialog::ShowModal()
|
||||
{
|
||||
// TODO
|
||||
return wxID_CANCEL;
|
||||
}
|
||||
|
||||
wxDC *wxPrintDialog::GetPrintDC()
|
||||
{
|
||||
if (m_printerDC)
|
||||
{
|
||||
wxDC* dc = m_printerDC;
|
||||
m_printerDC = NULL;
|
||||
return dc;
|
||||
}
|
||||
else
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
* wxPageSetupDialog
|
||||
*/
|
||||
|
||||
wxPageSetupDialog::wxPageSetupDialog():
|
||||
wxDialog()
|
||||
{
|
||||
m_dialogParent = NULL;
|
||||
}
|
||||
|
||||
wxPageSetupDialog::wxPageSetupDialog(wxWindow *p, wxPageSetupData *data):
|
||||
wxDialog()
|
||||
{
|
||||
Create(p, data);
|
||||
}
|
||||
|
||||
bool wxPageSetupDialog::Create(wxWindow *p, wxPageSetupData *data)
|
||||
{
|
||||
m_dialogParent = p;
|
||||
|
||||
if (data)
|
||||
m_pageSetupData = (*data);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
wxPageSetupDialog::~wxPageSetupDialog()
|
||||
{
|
||||
}
|
||||
|
||||
int wxPageSetupDialog::ShowModal()
|
||||
{
|
||||
// Uses generic page setup dialog
|
||||
wxGenericPageSetupDialog *genericPageSetupDialog = new wxGenericPageSetupDialog(GetParent(), & m_pageSetupData);
|
||||
int ret = genericPageSetupDialog->ShowModal();
|
||||
m_pageSetupData = genericPageSetupDialog->GetPageSetupData();
|
||||
genericPageSetupDialog->Close(TRUE);
|
||||
return ret;
|
||||
}
|
||||
|
@@ -1,199 +0,0 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: tabctrl.cpp
|
||||
// Purpose: wxTabCtrl
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 17/09/98
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation "tabctrl.h"
|
||||
#endif
|
||||
|
||||
#include "wx/control.h"
|
||||
#include "wx/tabctrl.h"
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxTabCtrl, wxControl)
|
||||
|
||||
BEGIN_EVENT_TABLE(wxTabCtrl, wxControl)
|
||||
END_EVENT_TABLE()
|
||||
|
||||
wxTabCtrl::wxTabCtrl()
|
||||
{
|
||||
m_imageList = NULL;
|
||||
}
|
||||
|
||||
bool wxTabCtrl::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size,
|
||||
long style, const wxString& name)
|
||||
{
|
||||
m_imageList = NULL;
|
||||
|
||||
SetName(name);
|
||||
|
||||
m_windowStyle = style;
|
||||
|
||||
SetParent(parent);
|
||||
|
||||
m_windowId = (id < 0 ? NewControlId() : id);
|
||||
|
||||
if (parent) parent->AddChild(this);
|
||||
|
||||
// TODO: create tab control
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
wxTabCtrl::~wxTabCtrl()
|
||||
{
|
||||
}
|
||||
|
||||
void wxTabCtrl::Command(wxCommandEvent& event)
|
||||
{
|
||||
}
|
||||
|
||||
// Delete all items
|
||||
bool wxTabCtrl::DeleteAllItems()
|
||||
{
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
// Delete an item
|
||||
bool wxTabCtrl::DeleteItem(int item)
|
||||
{
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
// Get the selection
|
||||
int wxTabCtrl::GetSelection() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Get the tab with the current keyboard focus
|
||||
int wxTabCtrl::GetCurFocus() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Get the associated image list
|
||||
wxImageList* wxTabCtrl::GetImageList() const
|
||||
{
|
||||
return m_imageList;
|
||||
}
|
||||
|
||||
// Get the number of items
|
||||
int wxTabCtrl::GetItemCount() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Get the rect corresponding to the tab
|
||||
bool wxTabCtrl::GetItemRect(int item, wxRect& wxrect) const
|
||||
{
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
// Get the number of rows
|
||||
int wxTabCtrl::GetRowCount() const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Get the item text
|
||||
wxString wxTabCtrl::GetItemText(int item) const
|
||||
{
|
||||
// TODO
|
||||
return wxString("");
|
||||
}
|
||||
|
||||
// Get the item image
|
||||
int wxTabCtrl::GetItemImage(int item) const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Get the item data
|
||||
void* wxTabCtrl::GetItemData(int item) const
|
||||
{
|
||||
// TODO
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Hit test
|
||||
int wxTabCtrl::HitTest(const wxPoint& pt, long& flags)
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Insert an item
|
||||
bool wxTabCtrl::InsertItem(int item, const wxString& text, int imageId, void* data)
|
||||
{
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
// Set the selection
|
||||
int wxTabCtrl::SetSelection(int item)
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Set the image list
|
||||
void wxTabCtrl::SetImageList(wxImageList* imageList)
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
// Set the text for an item
|
||||
bool wxTabCtrl::SetItemText(int item, const wxString& text)
|
||||
{
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
// Set the image for an item
|
||||
bool wxTabCtrl::SetItemImage(int item, int image)
|
||||
{
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
// Set the data for an item
|
||||
bool wxTabCtrl::SetItemData(int item, void* data)
|
||||
{
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
// Set the size for a fixed-width tab control
|
||||
void wxTabCtrl::SetItemSize(const wxSize& size)
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
// Set the padding between tabs
|
||||
void wxTabCtrl::SetPadding(const wxSize& padding)
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
// Tab event
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxTabEvent, wxCommandEvent)
|
||||
|
||||
wxTabEvent::wxTabEvent(wxEventType commandType, int id):
|
||||
wxCommandEvent(commandType, id)
|
||||
{
|
||||
}
|
||||
|
@@ -1,70 +0,0 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// File: taskbar.cpp
|
||||
// Purpose: Implements wxTaskBarIcon class for manipulating icons on
|
||||
// the task bar. Optional.
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 17/09/98
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c)
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation "taskbar.h"
|
||||
#endif
|
||||
|
||||
#include "wx/taskbar.h"
|
||||
|
||||
wxTaskBarIcon::wxTaskBarIcon()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
wxTaskBarIcon::~wxTaskBarIcon()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
// Operations
|
||||
bool wxTaskBarIcon::SetIcon(const wxIcon& icon, const wxString& tooltip)
|
||||
{
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
bool wxTaskBarIcon::RemoveIcon()
|
||||
{
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
// Overridables
|
||||
void wxTaskBarIcon::OnMouseMove()
|
||||
{
|
||||
}
|
||||
|
||||
void wxTaskBarIcon::OnLButtonDown()
|
||||
{
|
||||
}
|
||||
|
||||
void wxTaskBarIcon::OnLButtonUp()
|
||||
{
|
||||
}
|
||||
|
||||
void wxTaskBarIcon::OnRButtonDown()
|
||||
{
|
||||
}
|
||||
|
||||
void wxTaskBarIcon::OnRButtonUp()
|
||||
{
|
||||
}
|
||||
|
||||
void wxTaskBarIcon::OnLButtonDClick()
|
||||
{
|
||||
}
|
||||
|
||||
void wxTaskBarIcon::OnRButtonDClick()
|
||||
{
|
||||
}
|
||||
|
@@ -1,61 +0,0 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: wave.cpp
|
||||
// Purpose: wxWave class implementation: optional
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 17/09/98
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation "wave.h"
|
||||
#endif
|
||||
|
||||
#include "wx/object.h"
|
||||
#include "wx/string.h"
|
||||
#include "wx/motif/wave.h"
|
||||
|
||||
wxWave::wxWave()
|
||||
: m_waveData(NULL), m_waveLength(0), m_isResource(FALSE)
|
||||
{
|
||||
}
|
||||
|
||||
wxWave::wxWave(const wxString& sFileName, bool isResource)
|
||||
: m_waveData(NULL), m_waveLength(0), m_isResource(FALSE)
|
||||
{
|
||||
Create(sFileName, isResource);
|
||||
}
|
||||
|
||||
|
||||
wxWave::~wxWave()
|
||||
{
|
||||
Free();
|
||||
}
|
||||
|
||||
bool wxWave::Create(const wxString& fileName, bool isResource)
|
||||
{
|
||||
Free();
|
||||
|
||||
// TODO
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
bool wxWave::Play(bool async, bool looped) const
|
||||
{
|
||||
if (!IsOk())
|
||||
return FALSE;
|
||||
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
bool wxWave::Free()
|
||||
{
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
@@ -6,7 +6,6 @@
|
||||
# Author: Julian Smart, Robert Roebling, Vadim Zeitlin
|
||||
# Created: 1993
|
||||
# Updated: 1999
|
||||
# Copyright:,
|
||||
# Copyright:(c) 1999, Vadim Zeitlin
|
||||
# Copyright:(c) 1999, Robert Roebling
|
||||
#
|
||||
|
@@ -27,9 +27,6 @@ ALL_SOURCES = \
|
||||
generic/printps.cpp \
|
||||
generic/prntdlgg.cpp \
|
||||
generic/progdlgg.cpp \
|
||||
generic/prop.cpp \
|
||||
generic/propform.cpp \
|
||||
generic/proplist.cpp \
|
||||
generic/sashwin.cpp \
|
||||
generic/scrlwing.cpp \
|
||||
generic/spinctlg.cpp \
|
||||
@@ -41,7 +38,6 @@ ALL_SOURCES = \
|
||||
generic/tipdlg.cpp \
|
||||
generic/tipwin.cpp \
|
||||
generic/treectlg.cpp \
|
||||
generic/treelay.cpp \
|
||||
generic/wizard.cpp \
|
||||
common/accesscmn.cpp \
|
||||
common/appcmn.cpp \
|
||||
@@ -138,7 +134,6 @@ ALL_SOURCES = \
|
||||
common/quantize.cpp \
|
||||
common/radiocmn.cpp \
|
||||
common/regex.cpp \
|
||||
common/resource.cpp \
|
||||
common/rgncmn.cpp \
|
||||
common/sckaddr.cpp \
|
||||
common/sckfile.cpp \
|
||||
@@ -171,7 +166,6 @@ ALL_SOURCES = \
|
||||
common/wfstream.cpp \
|
||||
common/wincmn.cpp \
|
||||
common/wxchar.cpp \
|
||||
common/wxexpr.cpp \
|
||||
common/xpmdecod.cpp \
|
||||
common/zipstrm.cpp \
|
||||
common/zstream.cpp \
|
||||
@@ -341,7 +335,6 @@ ALL_HEADERS = \
|
||||
effects.h \
|
||||
encconv.h \
|
||||
event.h \
|
||||
expr.h \
|
||||
fdrepdlg.h \
|
||||
features.h \
|
||||
ffile.h \
|
||||
@@ -434,16 +427,12 @@ ALL_HEADERS = \
|
||||
prntbase.h \
|
||||
process.h \
|
||||
progdlg.h \
|
||||
prop.h \
|
||||
propform.h \
|
||||
proplist.h \
|
||||
quantize.h \
|
||||
radiobox.h \
|
||||
radiobut.h \
|
||||
rawbmp.h \
|
||||
regex.h \
|
||||
region.h \
|
||||
resource.h \
|
||||
sashwin.h \
|
||||
sckaddr.h \
|
||||
sckipc.h \
|
||||
@@ -510,7 +499,6 @@ ALL_HEADERS = \
|
||||
wx_cw_cm.h \
|
||||
wx_cw_d.h \
|
||||
wxchar.h \
|
||||
wxexpr.h \
|
||||
wxhtml.h \
|
||||
wxprec.h \
|
||||
xpmdecod.h \
|
||||
@@ -742,7 +730,6 @@ COMMONOBJS = \
|
||||
quantize.o \
|
||||
radiocmn.o \
|
||||
regex.o \
|
||||
resource.o \
|
||||
rgncmn.o \
|
||||
sckaddr.o \
|
||||
sckfile.o \
|
||||
@@ -775,7 +762,6 @@ COMMONOBJS = \
|
||||
wfstream.o \
|
||||
wincmn.o \
|
||||
wxchar.o \
|
||||
wxexpr.o \
|
||||
xpmdecod.o \
|
||||
zipstrm.o \
|
||||
zstream.o
|
||||
@@ -807,9 +793,6 @@ GENERICOBJS = \
|
||||
printps.o \
|
||||
prntdlgg.o \
|
||||
progdlgg.o \
|
||||
prop.o \
|
||||
propform.o \
|
||||
proplist.o \
|
||||
sashwin.o \
|
||||
scrlwing.o \
|
||||
spinctlg.o \
|
||||
@@ -821,7 +804,6 @@ GENERICOBJS = \
|
||||
tipdlg.o \
|
||||
tipwin.o \
|
||||
treectlg.o \
|
||||
treelay.o \
|
||||
wizard.o
|
||||
|
||||
GUIOBJS = \
|
||||
|
@@ -465,10 +465,6 @@ SOURCE=.\common\regex.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\common\resource.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\common\rgncmn.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
@@ -593,10 +589,6 @@ SOURCE=.\common\wxchar.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\common\wxexpr.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\common\xpmdecod.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
@@ -737,18 +729,6 @@ SOURCE=.\generic\progdlgg.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\generic\prop.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\generic\propform.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\generic\proplist.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\generic\sashwin.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
@@ -793,10 +773,6 @@ SOURCE=.\generic\treectlg.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\generic\treelay.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\generic\wizard.cpp
|
||||
# End Source File
|
||||
|
||||
@@ -1607,10 +1583,6 @@ SOURCE=..\include\wx\event.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\include\wx\expr.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\include\wx\fdrepdlg.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
@@ -1975,18 +1947,6 @@ SOURCE=..\include\wx\progdlg.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\include\wx\prop.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\include\wx\propform.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\include\wx\proplist.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\include\wx\quantize.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
@@ -2011,10 +1971,6 @@ SOURCE=..\include\wx\region.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\include\wx\resource.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\include\wx\sashwin.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
@@ -2275,10 +2231,6 @@ SOURCE=..\include\wx\wxchar.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\include\wx\wxexpr.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\include\wx\wxhtml.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
@@ -624,10 +624,6 @@ SOURCE=.\common\regex.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\common\resource.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\common\rgncmn.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
@@ -752,10 +748,6 @@ SOURCE=.\common\wxchar.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\common\wxexpr.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\common\xpmdecod.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
@@ -778,12 +770,6 @@ SOURCE=.\common\unzip.c
|
||||
# SUBTRACT CPP /YX /Yc /Yu
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\common\dosyacc.c
|
||||
# ADD CPP /W1 /D "USE_DEFINE" /D "IDE_INVOKED"
|
||||
# SUBTRACT CPP /YX /Yc /Yu
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Generic Files"
|
||||
|
||||
@@ -850,18 +836,6 @@ SOURCE=.\generic\progdlgg.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\generic\prop.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\generic\propform.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\generic\proplist.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\generic\sashwin.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
@@ -906,10 +880,6 @@ SOURCE=.\generic\treectlg.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\generic\treelay.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\generic\wizard.cpp
|
||||
# End Source File
|
||||
|
||||
@@ -1806,10 +1776,6 @@ SOURCE=..\include\wx\event.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\include\wx\expr.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\include\wx\fdrepdlg.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
@@ -2174,18 +2140,6 @@ SOURCE=..\include\wx\progdlg.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\include\wx\prop.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\include\wx\propform.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\include\wx\proplist.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\include\wx\quantize.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
@@ -2210,10 +2164,6 @@ SOURCE=..\include\wx\region.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\include\wx\resource.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\include\wx\sashwin.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
@@ -2474,10 +2424,6 @@ SOURCE=..\include\wx\wxchar.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\include\wx\wxexpr.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\include\wx\wxhtml.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
Reference in New Issue
Block a user