// Author: David Elliott
// Modified by:
// Created: 2003/02/15
-// RCS-ID: $Id:
+// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
static void *sm_cocoaObserver;
public:
virtual wxWindow* GetWxWindow() const
- { return NULL; }
+ { return NULL; }
virtual void Cocoa_FrameChanged(void) = 0;
virtual bool Cocoa_acceptsFirstMouse(bool &acceptsFirstMouse, WX_NSEvent theEvent)
{ return false; }
virtual bool Cocoa_otherMouseUp(WX_NSEvent theEvent)
{ return false; }
virtual bool Cocoa_resetCursorRects()
- { return false; }
+ { return false; }
virtual ~wxCocoaNSView() { }
};
-#endif // _WX_COCOA_NSVIEW_H_
+#endif
+ // __WX_COCOA_NSVIEW_H__
/////////////////////////////////////////////////////////////////////////////
-// Name: include/wx/cocoa/bitmap.h
+// Name: wx/cocoa/bitmap.h
// Purpose: wxBitmap class
// Author: David Elliott
// Modified by:
// Created: 2003/07/19
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_BITMAP_H__
// destructor
virtual ~wxBitmap();
-
+
// ------------------------------------------------------------------------
// Implementation
// ------------------------------------------------------------------------
void SetMask(wxMask *mask) ;
int GetBitmapType() const;
-
+
inline bool operator == (const wxBitmap& bitmap) const
{ return m_refData == bitmap.m_refData; }
inline bool operator != (const wxBitmap& bitmap) const
DECLARE_ABSTRACT_CLASS(wxBitmapHandler)
};
-#endif // __WX_COCOA_BITMAP_H__
+#endif
+ // __WX_COCOA_BITMAP_H__
// Author: David Elliott
// Modified by:
// Created: 2002/12/29
-// RCS-ID: $Id:
+// RCS-ID: $Id$
// Copyright: (c) 2002 David Elliott
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_BUTTON_H__
{
Create(parent, winid, label, pos, size, style, validator, name);
}
-
+
bool Create(wxWindow *parent, wxWindowID winid,
const wxString& label = wxEmptyString,
const wxSize& size = wxDefaultSize, long style = 0,
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxButtonNameStr);
-
+
virtual ~wxButton();
// ------------------------------------------------------------------------
wxSize DoGetBestSize() const;
};
-#endif // __WX_COCOA_BUTTON_H__
+#endif
+ // __WX_COCOA_BUTTON_H__
// Author: David Elliott
// Modified by:
// Created: 2003/02/15
-// RCS-ID: $Id:
+// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_CONTROL_H__
// --------------------------
void OnEraseBackground(wxEraseEvent& event);
-
+
virtual void Command(wxCommandEvent& event) { ProcessCommand(event); }
// Calls the callback and appropriate event handlers
virtual wxSize DoGetBestSize() const;
};
-#endif // __WX_COCOA_CONTROL_H__
+#endif
+ // __WX_COCOA_CONTROL_H__
/////////////////////////////////////////////////////////////////////////////
-// Name: cursor.h
+// Name: wx/cocoa/cursor.h
// Purpose: wxCursor class
// Author: David Elliott <dfe@cox.net>
// Modified by:
// Created: 2002/11/27
-// RCS-ID:
+// RCS-ID: $Id$
// Copyright: (c) David Elliott
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_COCOA_CURSOR_H_
class WXDLLEXPORT wxCursorRefData: public wxObjectRefData
{
DECLARE_NO_COPY_CLASS(wxCursorRefData)
-
+
friend class WXDLLEXPORT wxBitmap;
friend class WXDLLEXPORT wxCursor;
public:
inline bool operator == (const wxCursor& cursor) const { return m_refData == cursor.m_refData; }
inline bool operator != (const wxCursor& cursor) const { return m_refData != cursor.m_refData; }
-
+
inline WX_NSCursor GetNSCursor() const
- {
+ {
return (M_CURSORDATA ? M_CURSORDATA->m_hCursor : 0);
}
extern WXDLLEXPORT void wxSetCursor(const wxCursor& cursor);
-#endif // _WX_COCOA_CURSOR_H_
+#endif
+ // _WX_COCOA_CURSOR_H_
// Created: 2003/04/01
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_DCCLIENT_H__
virtual bool CocoaUnlockFocus();
};
-#endif // __WX_COCOA_DCCLIENT_H__
+#endif
+ // __WX_COCOA_DCCLIENT_H__
// Created: 2003/03/16
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_DCMEMORY_H__
int logicalFunc, bool useMask, wxCoord xsrcMask, wxCoord ysrcMask);
};
-#endif // __WX_COCOA_DCMEMORY_H__
+#endif
+ // __WX_COCOA_DCMEMORY_H__
// Created: 2003/07/15
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_GAUGE_H__
virtual wxSize DoGetBestSize() const;
};
-#endif // __WX_COCOA_GAUGE_H__
+#endif
+ // __WX_COCOA_GAUGE_H__
// Created: 2003/08/11
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_COCOA_ICON_H__
bool CreateFromXpm(const char **bits);
};
-#endif // _WX_COCOA_ICON_H__
+#endif
+ // _WX_COCOA_ICON_H__
// Name: wx/cocoa/region.h
// Purpose: wxRegion class
// Author: David Elliott
-// Modified by:
+// Modified by:
// Created: 2004/04/12
// RCS-ID: $Id$
// Copyright: (c) 2004 David Elliott
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_COCOA_REGION_H__
{ return *(wxRegionIterator*)&(this->wxRegionIteratorGeneric::operator=(iter)); }
};
-#endif //ndef _WX_COCOA_REGION_H__
+#endif
+ //ndef _WX_COCOA_REGION_H__
// Created: 2004/04/25
// RCS-ID: $Id$
// Copyright: (c) 2004 David Elliott
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_COCOA_SCROLBAR_H__
int m_pageSize;
};
-#endif // _WX_COCOA_SCROLBAR_H__
+#endif
+ // _WX_COCOA_SCROLBAR_H__
// Created: 2003/06/19
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_SLIDER_H__
};
-#endif // __WX_COCOA_SLIDER_H__
+#endif
+ // __WX_COCOA_SLIDER_H__
// Created: 2003/07/14
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_SPINBUTT_H__
// ------------------------------------------------------------------------
public:
wxSpinButton() { }
- wxSpinButton(wxWindow *parent, wxWindowID winid = -1,
+ wxSpinButton(wxWindow *parent, wxWindowID winid = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxSP_VERTICAL | wxSP_ARROW_KEYS,
Create(parent, winid, pos, size, style, name);
}
- bool Create(wxWindow *parent, wxWindowID winid = -1,
+ bool Create(wxWindow *parent, wxWindowID winid = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxSP_HORIZONTAL,
virtual void SetRange(int minValue, int maxValue);
};
-#endif // __WX_COCOA_SPINBUTT_H__
+#endif
+ // __WX_COCOA_SPINBUTT_H__
// Author: David Elliott
// Modified by:
// Created: 2003/02/15
-// RCS-ID: $Id:
+// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_STATTEXT_H__
void SetLabel(const wxString& label);
};
-#endif // __WX_COCOA_STATTEXT_H__
+#endif
+ // __WX_COCOA_STATTEXT_H__
/////////////////////////////////////////////////////////////////////////////
-// Name: gauge.h
+// Name: wx/gtk/gauge.h
// Purpose:
// Author: Robert Roebling
// Id: $Id$
// Copyright: (c) 1998 Robert Roebling
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_GTK_GAUGE_H_
virtual void Pulse();
bool IsVertical() const { return HasFlag(wxGA_VERTICAL); }
-
+
static wxVisualAttributes
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
virtual wxVisualAttributes GetDefaultAttributes() const;
-
+
// implementation
// -------------
DECLARE_DYNAMIC_CLASS(wxGauge)
};
-#endif // _WX_GTK_GAUGE_H_
+#endif
+ // _WX_GTK_GAUGE_H_
virtual ~wxMenu();
void Attach(wxMenuBarBase *menubar);
-
+
void SetLayoutDirection(const wxLayoutDirection dir);
wxLayoutDirection GetLayoutDirection() const;
// common part of Append (if pos == -1) and Insert
bool GtkAppend(wxMenuItem *item, int pos=-1);
- GtkWidget *m_prevRadio;
+ GtkWidget *m_prevRadio;
DECLARE_DYNAMIC_CLASS(wxMenu)
};
-#endif // __GTKMENUH__
+#endif
+ // __GTKMENUH__
/////////////////////////////////////////////////////////////////////////////
-// Name: stattext.h
+// Name: wx/gtk/stattext.h
// Purpose:
// Author: Robert Roebling
// Id: $Id$
// Copyright: (c) 1998 Robert Roebling
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_GTK_STATTEXT_H_
wxWindowID id,
const wxString &label,
const wxPoint &pos = wxDefaultPosition,
- const wxSize &size = wxDefaultSize,
+ const wxSize &size = wxDefaultSize,
long style = 0,
const wxString &name = wxStaticTextNameStr );
wxWindowID id,
const wxString &label,
const wxPoint &pos = wxDefaultPosition,
- const wxSize &size = wxDefaultSize,
+ const wxSize &size = wxDefaultSize,
long style = 0,
const wxString &name = wxStaticTextNameStr );
static wxVisualAttributes
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
-
+
// see wx/stattext.h
void Wrap(int width);
virtual void DoSetSize(int x, int y,
int width, int height,
int sizeFlags = wxSIZE_AUTO);
-
+
virtual wxSize DoGetBestSize() const;
DECLARE_DYNAMIC_CLASS(wxStaticText)
};
-#endif // _WX_GTK_STATTEXT_H_
+#endif
+ // _WX_GTK_STATTEXT_H_
// Author: Robert Roebling
// Id: $Id$
// Copyright: (c) 1998 Robert Roebling
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __GTKGAUGEH__
#endif
-#endif // __GTKGAUGEH__
+#endif
+ // __GTKGAUGEH__
// common part of Append (if pos == -1) and Insert
bool GtkAppend(wxMenuItem *item, int pos=-1);
- GtkWidget *m_prevRadio;
+ GtkWidget *m_prevRadio;
DECLARE_DYNAMIC_CLASS(wxMenu)
};
-#endif // __GTKMENUH__
+#endif
+ // __GTKMENUH__
// Author: Robert Roebling
// Id: $Id$
// Copyright: (c) 1998 Robert Roebling
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __GTKSTATICTEXTH__
DECLARE_DYNAMIC_CLASS(wxStaticText)
};
-#endif // __GTKSTATICTEXTH__
+#endif
+ // __GTKSTATICTEXTH__
/////////////////////////////////////////////////////////////////////////////
-// Name: webkit.h
+// Name: wx/html/webkit.h
// Purpose: wxWebKitCtrl - embeddable web kit control
// Author: Jethro Grassie / Kevin Ollivier
// Modified by:
bool CanGetPageSource();
wxString GetPageSource();
void SetPageSource(wxString& source, const wxString& baseUrl = wxEmptyString);
- wxString GetPageURL(){ return m_currentURL; }
- wxString GetPageTitle(){ return m_pageTitle; }
+ wxString GetPageURL(){ return m_currentURL; }
+ wxString GetPageTitle(){ return m_pageTitle; }
//we need to resize the webview when the control size changes
void OnSize(wxSizeEvent &event);
#endif // wxUSE_WEBKIT
-#endif // _WX_WEBKIT_H_
+#endif
+ // _WX_WEBKIT_H_
/////////////////////////////////////////////////////////////////////////////
-// Name: cursor.h
+// Name: wx/mac/carbon/cursor.h
// Purpose: wxCursor class
// Author: Stefan Csomor
// Modified by:
wxCursor(int cursor_type);
virtual ~wxCursor();
- bool CreateFromXpm(const char **bits) ;
+ bool CreateFromXpm(const char **bits) ;
virtual bool Ok() const { return IsOk(); }
virtual bool IsOk() const ;
///////////////////////////////////////////////////////////////////////////////
-// Name: dnd.h
+// Name: wx/mac/carbon/dnd.h
// Purpose: Declaration of the wxDropTarget, wxDropSource class etc.
// Author: Stefan Csomor
// RCS-ID: $Id$
virtual bool OnDrop(wxCoord x, wxCoord y);
virtual wxDragResult OnData(wxCoord x, wxCoord y, wxDragResult def);
virtual bool GetData();
-
+
bool CurrentDragHasSupportedFormat() ;
void SetCurrentDrag( void* drag ) { m_currentDrag = drag ; }
void* GetCurrentDrag() { return m_currentDrag ; }
wxWindow* GetWindow() { return m_window ; }
void SetCurrentDrag( void* drag ) { m_currentDrag = drag ; }
void* GetCurrentDrag() { return m_currentDrag ; }
- bool MacInstallDefaultCursor(wxDragResult effect) ;
+ bool MacInstallDefaultCursor(wxDragResult effect) ;
protected :
-
+
wxWindow *m_window;
void* m_currentDrag ;
};
-#endif
- // D&D
-
-#endif
- //_WX_DND_H_
+#endif // wxUSE_DRAG_AND_DROP
+#endif
+ //_WX_DND_H_
/////////////////////////////////////////////////////////////////////////////
-// Name: drawer.h
+// Name: wx/mac/carbon/drawer.h
// Purpose: Drawer child window class.
// Drawer windows appear under their parent window and
// behave like a drawer, opening and closing to reveal
class WXDLLEXPORT wxDrawerWindow : public wxTopLevelWindow
{
DECLARE_DYNAMIC_CLASS(wxDrawerWindow)
-
+
public:
wxDrawerWindow();
-
+
wxDrawerWindow(wxWindow* parent,
- wxWindowID id,
- const wxString& title,
- wxSize size = wxDefaultSize,
- wxDirection edge = wxLEFT,
- const wxString& name = wxT("drawerwindow"))
+ wxWindowID id,
+ const wxString& title,
+ wxSize size = wxDefaultSize,
+ wxDirection edge = wxLEFT,
+ const wxString& name = wxT("drawerwindow"))
{
this->Create(parent, id, title, size, edge, name);
}
-
+
virtual ~wxDrawerWindow();
-
- // Create a drawer window.
+
+ // Create a drawer window.
// If parent is NULL, create as a tool window.
- // If parent is not NULL, then wxTopLevelWindow::Attach this window to parent.
+ // If parent is not NULL, then wxTopLevelWindow::Attach this window to parent.
bool Create(wxWindow *parent,
wxWindowID id,
const wxString& title,
bool Open(bool show = true); // open or close the drawer, possibility for async param, i.e. animate
bool Close() { return this->Open(false); }
bool IsOpen() const;
-
+
// Set the edge of the parent where the drawer attaches.
bool SetPreferredEdge(wxDirection edge);
wxDirection GetPreferredEdge() const;
- wxDirection GetCurrentEdge() const; // not necessarily the preferred, due to screen constraints
+ wxDirection GetCurrentEdge() const; // not necessarily the preferred, due to screen constraints
};
#endif // defined( __WXMAC__ ) && TARGET_API_MAC_OSX && ( MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_2 )
-#endif // _WX_DRAWERWINDOW_H_
+#endif
+ // _WX_DRAWERWINDOW_H_
/////////////////////////////////////////////////////////////////////////////
-// Name: fontdlg.h
-// Purpose: wxFontDialog class using fonts window services (10.2+).
+// Name: wx/mac/carbon/fontdlg.h
+// Purpose: wxFontDialog class using fonts window services (10.2+).
// Author: Ryan Norton
// Modified by:
// Created: 2004-09-25
protected:
wxWindow* m_dialogParent;
wxFontData m_fontData;
- void* m_pEventHandlerRef;
+ void* m_pEventHandlerRef;
};
#endif
#endif
// _WX_FONTDLG_H_
-
/////////////////////////////////////////////////////////////////////////////
-// Name: wx/mac/mimetype.h
+// Name: wx/mac/carbon/mimetype.h
// Purpose: Mac Carbon implementation for wx mime-related classes
// Author: Ryan Norton
// Modified by:
class wxMimeTypesManagerImpl
{
public :
- //kinda kooky but in wxMimeTypesManager::EnsureImpl it doesn't call
+ //kinda kooky but in wxMimeTypesManager::EnsureImpl it doesn't call
//intialize, so we do it ourselves
wxMimeTypesManagerImpl() : m_hIC(NULL) { Initialize(); }
~wxMimeTypesManagerImpl() { ClearData(); }
-
+
// load all data into memory - done when it is needed for the first time
void Initialize(int mailcapStyles = wxMAILCAP_STANDARD,
const wxString& extraDir = wxEmptyString);
wxFileType *Associate(const wxFileTypeInfo& ftInfo);
// remove association
bool Unassociate(wxFileType *ft);
-
+
private:
wxArrayFileTypeInfo m_fallbacks;
- void* m_hIC;
- void** m_hDatabase;
- long m_lCount;
-
+ void* m_hIC;
+ void** m_hDatabase;
+ long m_lCount;
+
void* pReserved1;
void* pReserved2;
void* pReserved3;
void* pReserved4;
void* pReserved5;
void* pReserved6;
-
+
friend class wxFileTypeImpl;
};
//kind of nutty, but mimecmn.cpp creates one with an empty new
wxFileTypeImpl() : m_manager(NULL) {}
~wxFileTypeImpl() {} //for those broken compilers
-
+
// implement accessor functions
bool GetExtensions(wxArrayString& extensions);
bool GetMimeType(wxString *mimeType) const;
bool SetDefaultIcon(const wxString& strIcon = wxEmptyString, int index = 0);
private:
- void Init(wxMimeTypesManagerImpl *manager, long lIndex)
+ void Init(wxMimeTypesManagerImpl *manager, long lIndex)
{ m_manager=(manager); m_lIndex=(lIndex); }
// helper function
wxString GetCommand(const wxString& verb) const;
-
+
wxMimeTypesManagerImpl *m_manager;
- long m_lIndex;
-
+ long m_lIndex;
+
void* pReserved1;
void* pReserved2;
void* pReserved3;
};
#endif
- //_MIMETYPE_H
+ //_MIMETYPE_H
Boolean changeValue ) = 0;
static pascal Boolean DataBrowserCompareProc(
- ControlRef browser,
- DataBrowserItemID itemOneID,
- DataBrowserItemID itemTwoID,
- DataBrowserPropertyID sortProperty);
-
- virtual Boolean CompareItems(DataBrowserItemID itemOneID,
- DataBrowserItemID itemTwoID,
- DataBrowserPropertyID sortProperty) = 0;
+ ControlRef browser,
+ DataBrowserItemID itemOneID,
+ DataBrowserItemID itemTwoID,
+ DataBrowserPropertyID sortProperty);
+
+ virtual Boolean CompareItems(DataBrowserItemID itemOneID,
+ DataBrowserItemID itemTwoID,
+ DataBrowserPropertyID sortProperty) = 0;
};
// ============================================================================
/////////////////////////////////////////////////////////////////////////////
-// Name: toolbar.h
+// Name: wx/mac/carbon/toolbar.h
// Purpose: wxToolBar class
// Author: Stefan Csomor
// Modified by:
virtual wxToolBarToolBase *CreateTool(wxControl *control);
DECLARE_EVENT_TABLE()
-#if wxMAC_USE_NATIVE_TOOLBAR
- bool m_macUsesNativeToolbar ;
- void* m_macHIToolbarRef ;
+#if wxMAC_USE_NATIVE_TOOLBAR
+ bool m_macUsesNativeToolbar ;
+ void* m_macHIToolbarRef ;
#endif
};
/////////////////////////////////////////////////////////////////////////////
-// Name: cursor.h
+// Name: wx/mac/classic/cursor.h
// Purpose: wxCursor class
// Author: Stefan Csomor
// Modified by:
class WXDLLEXPORT wxCursorRefData: public wxBitmapRefData
{
DECLARE_NO_COPY_CLASS(wxCursorRefData)
-
+
friend class WXDLLEXPORT wxBitmap;
friend class WXDLLEXPORT wxCursor;
public:
wxCursor(int cursor_type);
virtual ~wxCursor();
- bool CreateFromXpm(const char **bits) ;
+ bool CreateFromXpm(const char **bits) ;
virtual bool Ok() const { return IsOk(); }
virtual bool IsOk() const { return (m_refData != NULL && ( M_CURSORDATA->m_hCursor != NULL || M_CURSORDATA->m_themeCursor != -1 ) ) ; }
///////////////////////////////////////////////////////////////////////////////
-// Name: dnd.h
+// Name: wx/mac/classic/dnd.h
// Purpose: Declaration of the wxDropTarget, wxDropSource class etc.
// Author: Stefan Csomor
// RCS-ID: $Id$
virtual bool OnDrop(wxCoord x, wxCoord y);
virtual wxDragResult OnData(wxCoord x, wxCoord y, wxDragResult def);
virtual bool GetData();
-
+
bool CurrentDragHasSupportedFormat() ;
void SetCurrentDrag( void* drag ) { m_currentDrag = drag ; }
void* GetCurrentDrag() { return m_currentDrag ; }
wxWindow* GetWindow() { return m_window ; }
void SetCurrentDrag( void* drag ) { m_currentDrag = drag ; }
void* GetCurrentDrag() { return m_currentDrag ; }
- bool MacInstallDefaultCursor(wxDragResult effect) ;
- protected :
-
+ bool MacInstallDefaultCursor(wxDragResult effect) ;
+protected :
+
wxWindow *m_window;
void* m_currentDrag ;
};
-#endif
- // D&D
-
-#endif
- //_WX_DND_H_
+#endif // wxUSE_DRAG_AND_DROP
+#endif
+ //_WX_DND_H_
/////////////////////////////////////////////////////////////////////////////
-// Name: private.h
+// Name: wx/mac/classic/private.h
// Purpose: Private declarations: as this header is only included by
// wxWidgets itself, it may contain identifiers which don't start
// with "wx".
#include "wx/window.h"
-class wxMacPortStateHelper
+class wxMacPortStateHelper
{
DECLARE_NO_COPY_CLASS(wxMacPortStateHelper)
-
+
public:
- wxMacPortStateHelper( GrafPtr newport) ;
+ wxMacPortStateHelper( GrafPtr newport) ;
wxMacPortStateHelper() ;
~wxMacPortStateHelper() ;
class WXDLLEXPORT wxMacPortSetter
{
DECLARE_NO_COPY_CLASS(wxMacPortSetter)
-
+
public:
wxMacPortSetter( const wxDC* dc ) ;
~wxMacPortSetter() ;
class WXDLLEXPORT wxMacWindowClipper
{
DECLARE_NO_COPY_CLASS(wxMacWindowClipper)
-
+
public:
wxMacWindowClipper( const wxWindow* win ) ;
~wxMacWindowClipper() ;
class wxMacDrawingHelper
{
DECLARE_NO_COPY_CLASS(wxMacDrawingHelper)
-
+
public:
wxMacDrawingHelper( wxWindowMac * theWindow , bool clientArea = false ) ;
~wxMacDrawingHelper() ;
#if TARGET_CARBON
-class wxMacCFStringHolder
-{
-public:
- wxMacCFStringHolder()
- {
- m_cfs = NULL ;
- m_release = false ;
- }
-
- wxMacCFStringHolder(const wxString &str , wxFontEncoding encoding )
- {
- m_cfs = NULL ;
- m_release = false ;
- Assign( str , encoding ) ;
- }
-
- wxMacCFStringHolder(CFStringRef ref , bool release = true )
- {
+class wxMacCFStringHolder
+{
+public:
+ wxMacCFStringHolder()
+ {
+ m_cfs = NULL ;
+ m_release = false ;
+ }
+
+ wxMacCFStringHolder(const wxString &str , wxFontEncoding encoding )
+ {
+ m_cfs = NULL ;
+ m_release = false ;
+ Assign( str , encoding ) ;
+ }
+
+ wxMacCFStringHolder(CFStringRef ref , bool release = true )
+ {
m_cfs = ref ;
- m_release = release ;
- }
-
- ~wxMacCFStringHolder()
- {
- Release() ;
- }
+ m_release = release ;
+ }
+
+ ~wxMacCFStringHolder()
+ {
+ Release() ;
+ }
CFStringRef Detach()
{
- CFStringRef retval = m_cfs ;
- m_release = false ;
- m_cfs = NULL ;
- return retval ;
- }
-
+ CFStringRef retval = m_cfs ;
+ m_release = false ;
+ m_cfs = NULL ;
+ return retval ;
+ }
+
void Release()
{
- if ( m_release && m_cfs)
- CFRelease( m_cfs ) ;
- m_cfs = NULL ;
- }
+ if ( m_release && m_cfs)
+ CFRelease( m_cfs ) ;
+ m_cfs = NULL ;
+ }
- void Assign( const wxString &str , wxFontEncoding encoding ) ;
+ void Assign( const wxString &str , wxFontEncoding encoding ) ;
- operator CFStringRef () { return m_cfs; }
+ operator CFStringRef () { return m_cfs; }
wxString AsString( wxFontEncoding encoding = wxFONTENCODING_DEFAULT ) ;
-
-private:
-
+
+private:
+
CFStringRef m_cfs;
- bool m_release ;
+ bool m_release ;
} ;
#endif
/////////////////////////////////////////////////////////////////////////////
-// Name: print.h
+// Name: wx/mac/classic/private/print.h
// Purpose: private implementation for printing on MacOS
// Author: Stefan Csomor
// Modified by:
// Created: 03/02/99
-// RCS-ID: $Id:
+// RCS-ID: $Id$
// Copyright: (c) Stefan Csomor
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
# include "Printing.h"
#endif
-#if TARGET_CARBON
+#if TARGET_CARBON
#if !PM_USE_SESSION_APIS
#error "only Carbon Printing Session API is supported"
#endif
public :
wxNativePrintData() {}
virtual ~wxNativePrintData() {}
-
+
virtual void TransferFrom( wxPrintData * ) = 0 ;
virtual void TransferTo( wxPrintData * ) = 0 ;
-
+
virtual void TransferFrom( wxPageSetupDialogData * ) = 0 ;
virtual void TransferTo( wxPageSetupDialogData * ) = 0 ;
-
+
virtual void TransferFrom( wxPrintDialogData * ) = 0 ;
virtual void TransferTo( wxPrintDialogData * ) = 0 ;
-
+
virtual void CopyFrom( wxNativePrintData * ) = 0;
-
+
virtual int ShowPrintDialog() = 0 ;
virtual int ShowPageSetupDialog() = 0 ;
-
+
static wxNativePrintData* Create() ;
} ;
#if TARGET_CARBON
-class wxMacCarbonPrintData : public wxNativePrintData
+class wxMacCarbonPrintData : public wxNativePrintData
{
public :
wxMacCarbonPrintData() ;
~wxMacCarbonPrintData() ;
-
+
virtual void TransferFrom( wxPrintData * ) ;
virtual void TransferTo( wxPrintData * ) ;
-
+
virtual void TransferFrom( wxPageSetupDialogData * ) ;
virtual void TransferTo( wxPageSetupDialogData * ) ;
-
+
virtual void TransferFrom( wxPrintDialogData * ) ;
virtual void TransferTo( wxPrintDialogData * ) ;
-
+
virtual void CopyFrom( wxNativePrintData * ) ;
virtual int ShowPrintDialog() ;
virtual int ShowPageSetupDialog() ;
private :
virtual void ValidateOrCreate() ;
public :
- PMPrintSession m_macPrintSession ;
+ PMPrintSession m_macPrintSession ;
PMPageFormat m_macPageFormat ;
PMPrintSettings m_macPrintSettings ;
} ;
#endif
#endif
+ // _WX_MAC_PRIVATE_PRINT_H_
/////////////////////////////////////////////////////////////////////////
-// File: wx/mac/taskbarosx.h
+// File: wx/mac/classic/taskbarosx.h
// Purpose: Defines wxTaskBarIcon class for OSX
// Author: Ryan Norton
// Modified by:
class WXDLLEXPORT wxTaskBarIcon : public wxTaskBarIconBase
{
public:
- //type of taskbar item to create (currently only DOCK is implemented)
- enum wxTaskBarIconType
- {
- DOCK,
- STATUSITEM,
- MENUEXTRA
- };
-
+ //type of taskbar item to create (currently only DOCK is implemented)
+ enum wxTaskBarIconType
+ {
+ DOCK,
+ STATUSITEM,
+ MENUEXTRA
+ };
+
wxTaskBarIcon(const wxTaskBarIconType& nType = DOCK);
virtual ~wxTaskBarIcon();
protected:
wxTaskBarIconType m_nType;
-
+
DECLARE_DYNAMIC_CLASS(wxTaskBarIcon)
};
wxString m_szProductName; //product name
int m_nProductId; //product id
int m_nManufacturerId; //manufacturer id
- mach_port_t m_pPort; //mach port to use
+ mach_port_t m_pPort; //mach port to use
};
// ---------------------------------------------------------------------------
#endif //__DARWIN__
-#endif //WX_MACCARBONHID_H
+#endif
+ // _WX_MACCARBONHID_H_
// Created: 17/09/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_TOOLBAR_H_
public:
// ctors and dtor
wxToolBar() { Init(); }
-
+
wxToolBar(wxWindow *parent,
wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxString& name = wxToolBarNameStr)
{
Init();
-
+
Create(parent, id, pos, size, style, name);
}
-
+
bool Create(wxWindow *parent,
wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxNO_BORDER | wxTB_HORIZONTAL,
const wxString& name = wxToolBarNameStr);
-
+
virtual ~wxToolBar();
-
+
// override/implement base class virtuals
virtual wxToolBarToolBase *FindToolForPosition(wxCoord x, wxCoord y) const;
-
+
virtual bool Realize();
-
+
// implementation from now on
-
+
// find tool by widget
wxToolBarToolBase *FindToolByWidget(WXWidget w) const;
-
+
private:
// common part of all ctors
void Init();
-
+
// implement base class pure virtuals
virtual bool DoInsertTool(size_t pos, wxToolBarToolBase *tool);
virtual bool DoDeleteTool(size_t pos, wxToolBarToolBase *tool);
-
+
virtual void DoEnableTool(wxToolBarToolBase *tool, bool enable);
virtual void DoToggleTool(wxToolBarToolBase *tool, bool toggle);
virtual void DoSetToggle(wxToolBarToolBase *tool, bool toggle);
-
+
virtual wxToolBarToolBase *CreateTool(int id,
const wxString& label,
const wxBitmap& bmpNormal,
};
#endif
-// _WX_TOOLBAR_H_
+ // _WX_TOOLBAR_H_
// NMLVCUSTOMDRAW originally didn't have the iSubItem member. It was added
// with IE4, as was IPN_FIRST which is used as a test :-(.
//
-#ifndef IPN_FIRST
+#ifndef IPN_FIRST
typedef struct wxtagNMLVCUSTOMDRAW_ {
NMCUSTOMDRAW nmcd;
#define NMLVCUSTOMDRAW wxNMLVCUSTOMDRAW_
#define LPNMLVCUSTOMDRAW wxLPNMLVCUSTOMDRAW_
-#endif // defined IPN_FIRST
+#endif // defined IPN_FIRST
#endif // defined __VISUALC__ && __VISUALC__ <= 1100
/////////////////////////////////////////////////////////////////////////////
-// Name: helpxxxx.h
+// Name: wx/os2/helpwin.h
// Purpose: Help system: native implementation for your system.
// Author: David Webster
// Modified by:
-// Created: 10/09/99
+// Created: 10/09/99
// RCS-ID: $Id$
// Copyright: (c) David Webster
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_HELPWIN_H_
/////////////////////////////////////////////////////////////////////////////
-// Name: pnghand.h
+// Name: wx/os2/pnghand.h
// Purpose: PNG bitmap handler
// Author: Julian Smart
// Modified by:
// Created: 04/01/98
// RCS-ID: $Id$
// Copyright: (c) Microsoft, Julian Smart
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_PNGHAND_H_
};
#endif
- // _WX_PNGHAND_H_
-
+ // _WX_PNGHAND_H_
/*
- * File: pngread.h
- * Purpose: PNG file reader
- * Author: Alejandro Aguilar Sierra/Julian Smart
- * Created: 1995
- * Copyright: (c) 1995, Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
+ * File: wx/os2/pngread.h
+ * Purpose: PNG file reader
+ * Author: Alejandro Aguilar Sierra/Julian Smart
+ * Created: 1995
+ * RCS-ID: $Id$
+ * Copyright: (c) 1995, Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
*
*
*/
typedef struct
{
- byte red;
- byte green;
- byte blue;
+ byte red;
+ byte green;
+ byte blue;
} rgb_color_struct;
-#define COLORTYPE_PALETTE 1
-#define COLORTYPE_COLOR 2
-#define COLORTYPE_ALPHA 4
+#define COLORTYPE_PALETTE 1
+#define COLORTYPE_COLOR 2
+#define COLORTYPE_ALPHA 4
class wxPNGReader
{
wxPNGReaderIter::wxPNGReaderIter(wxPNGReader *imax): ima(imax)
{
if (ima)
- IterImage = ima->RawImage;
+ IterImage = ima->RawImage;
Itx = Ity = 0;
Stepx = Stepy = 0;
}
bool wxPNGReaderIter::ItOK ()
{
if (ima)
- return ima->Inside(Itx, Ity);
+ return ima->Inside(Itx, Ity);
else
- return FALSE;
+ return FALSE;
}
// Here should be bcopy or memcpy
//_fmemcpy(IterImage, (void far *)buf, n);
if (n<0)
- n = ima->GetWidth();
+ n = ima->GetWidth();
for (int i=0; i<n; i++) IterImage[i] = buf[i];
}
}
#endif
-
+ // _WX_PNGREAD__
\ No newline at end of file
/////////////////////////////////////////////////////////////////////////////
-// Name: wx/richtext/richedithtml.h
+// Name: wx/richtext/richtexthtml.h
// Purpose: HTML I/O for wxRichTextCtrl
// Author: Julian Smart
// Modified by:
/// Output character formatting
virtual void BeginCharacterFormatting(const wxTextAttrEx& currentStyle, const wxTextAttrEx& thisStyle, const wxTextAttrEx& paraStyle, wxOutputStream& stream );
virtual void EndCharacterFormatting(const wxTextAttrEx& WXUNUSED(currentStyle), const wxTextAttrEx& thisStyle, const wxTextAttrEx& paraStyle, wxOutputStream& stream );
-
- /// Output paragraph formatting
+
+ /// Output paragraph formatting
virtual void OutputParagraphFormatting(const wxTextAttrEx& WXUNUSED(currentStyle), const wxTextAttrEx& thisStyle, wxOutputStream& stream/*, bool start*/);
-
- /// Converts an image to its base64 equivalent
- void Image_to_Base64(wxRichTextImage* image, wxOutputStream& stream);
-
- /// Builds required indentation
- void Indent( const wxTextAttrEx& thisStyle, wxTextOutputStream& str );
-
- /// Left indent
- void LIndent( const wxTextAttrEx& thisStyle, wxTextOutputStream& str );
-
- /// Converts from pt to size property compatible height
- long Pt_To_Size(long size);
-
- /// Typical base64 encoder
- wxChar* b64enc( unsigned char* input, size_t in_len );
-
- /// Gets the mime type of the given wxBITMAP_TYPE
+
+ /// Converts an image to its base64 equivalent
+ void Image_to_Base64(wxRichTextImage* image, wxOutputStream& stream);
+
+ /// Builds required indentation
+ void Indent( const wxTextAttrEx& thisStyle, wxTextOutputStream& str );
+
+ /// Left indent
+ void LIndent( const wxTextAttrEx& thisStyle, wxTextOutputStream& str );
+
+ /// Converts from pt to size property compatible height
+ long Pt_To_Size(long size);
+
+ /// Typical base64 encoder
+ wxChar* b64enc( unsigned char* input, size_t in_len );
+
+ /// Gets the mime type of the given wxBITMAP_TYPE
const wxChar* GetMimeType(int imageType);
-
- /// Gets the html equivalent of the specified value
- wxString GetAlignment( const wxTextAttrEx& thisStyle );
-
- /// Generates array for indentations
- wxString SymbolicIndent(long indent);
-
- /// Finds the html equivalent of the specified bullet
- void TypeOfList( const wxTextAttrEx& thisStyle, wxString& tag );
-
- /// Closes existings or Opens new tables for navigation to an item's horizontal position.
- void NavigateToListPosition( const wxTextAttrEx& thisStyle, wxTextOutputStream& str );
-
- /// Indentation values of the table tags
- wxArrayInt m_indents;
-
- /// Horizontal position of the current table
- long m_indent;
-
- /// Is there any opened font tag
- bool m_font;
-
- /// Is there any opened ul/ol tag
- bool m_list;
-
- /// type of list, ul or ol?
- bool m_is_ul;
+
+ /// Gets the html equivalent of the specified value
+ wxString GetAlignment( const wxTextAttrEx& thisStyle );
+
+ /// Generates array for indentations
+ wxString SymbolicIndent(long indent);
+
+ /// Finds the html equivalent of the specified bullet
+ void TypeOfList( const wxTextAttrEx& thisStyle, wxString& tag );
+
+ /// Closes existings or Opens new tables for navigation to an item's horizontal position.
+ void NavigateToListPosition( const wxTextAttrEx& thisStyle, wxTextOutputStream& str );
+
+ /// Indentation values of the table tags
+ wxArrayInt m_indents;
+
+ /// Horizontal position of the current table
+ long m_indent;
+
+ /// Is there any opened font tag
+ bool m_font;
+
+ /// Is there any opened ul/ol tag
+ bool m_list;
+
+ /// type of list, ul or ol?
+ bool m_is_ul;
};
/////////////////////////////////////////////////////////////////////////////
-// Name: joystick.h
+// Name: wx/unix/joystick.h
// Purpose: wxJoystick class
// Author: Guilhem Lavaux
// Modified by:
// Created: 01/02/97
// RCS-ID: $Id$
// Copyright: (c) Guilhem Lavaux
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __JOYSTICKH__
};
#endif
-// __JOYSTICKH__
-
+ // __JOYSTICKH__
/////////////////////////////////////////////////////////////////////////////
-// Name: sound.h
+// Name: wx/unix/sound.h
// Purpose: wxSound class
// Author: Julian Smart, Vaclav Slavik
// Modified by:
// Created: 25/10/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart, Vaclav Slavik
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_SOUND_H_
wxSoundData() : m_refCnt(1) {}
void IncRef();
void DecRef();
-
+
// .wav header information:
unsigned m_channels; // num of channels (mono:1, stereo:2)
unsigned m_samplingRate;
// samples (wxUint8), if 16 then signed 16bit
// (wxInt16)
unsigned m_samples; // length in samples:
-
+
// wave data:
size_t m_dataBytes;
wxUint8 *m_data; // m_dataBytes bytes of data
bool Create(int size, const wxByte* data);
bool IsOk() const { return m_data != NULL; }
-
+
// Stop playing any sound
static void Stop();
// Returns true if a sound is being played
static bool IsPlaying();
-
+
// for internal use
static void UnloadBackend();
-
+
protected:
bool DoPlay(unsigned flags) const;
static void EnsureBackend();
void Free();
bool LoadWAV(const wxUint8 *data, size_t length, bool copyData);
-
+
static wxSoundBackend *ms_backend;
#if wxUSE_LIBSDL && wxUSE_PLUGINS
// FIXME - temporary, until we have plugins architecture
// ----------------------------------------------------------------------------
-// wxSoundBackend:
+// wxSoundBackend:
// ----------------------------------------------------------------------------
// This is interface to sound playing implementation. There are multiple
{
public:
virtual ~wxSoundBackend() {}
-
+
// Returns the name of the backend (e.g. "Open Sound System")
virtual wxString GetName() const = 0;
// playback, otherwise it is left up to the backend (will usually be more
// effective).
virtual bool HasNativeAsyncPlayback() const = 0;
-
+
// Plays the sound. flags are same flags as those passed to wxSound::Play.
// The function should periodically check the value of
// status->m_stopRequested and terminate if it is set to true (it may
#endif // wxUSE_SOUND
#endif
+ // _WX_SOUND_H_
\ No newline at end of file
/////////////////////////////////////////////////////////////////////////////
-// Name: cursor.h
+// Name: wx/x11/cursor.h
// Purpose: wxCursor class
// Author: Julian Smart
// Modified by:
// Created: 17/09/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_CURSOR_H_
#endif
-// _WX_CURSOR_H_
+ // _WX_CURSOR_H_
/////////////////////////////////////////////////////////////////////////////
-// Name: dcprint.h
+// Name: wx/x11/dcprint.h
// Purpose: wxPrinterDC class
// Author: Julian Smart
// Modified by:
// Created: 17/09/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_DCPRINT_H_
{
public:
DECLARE_CLASS(wxPrinterDC)
-
+
// Create a printer DC
wxPrinterDC(const wxString& driver, const wxString& device, const wxString& output, bool interactive = TRUE, int orientation = wxPORTRAIT);
-
+
virtual ~wxPrinterDC();
};
#endif
-// _WX_DCPRINT_H_
-
+ // _WX_DCPRINT_H_
/////////////////////////////////////////////////////////////////////////////
-// Name: dcscreen.h
+// Name: wx/x11/dcscreen.h
// Purpose: wxScreenDC class
// Author: Julian Smart
// Modified by:
// Created: 17/09/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_DCSCREEN_H_
#endif
-// _WX_DCSCREEN_H_
-
+ // _WX_DCSCREEN_H_
/////////////////////////////////////////////////////////////////////////////
-// Name: font.h
+// Name: wx/x11/font.h
// Purpose: wxFont class
// Author: Julian Smart
// Modified by:
// Created: 17/09/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_FONT_H_
};
#endif
-// _WX_FONT_H_
+ // _WX_FONT_H_
/////////////////////////////////////////////////////////////////////////////
-// Name: joystick.h
+// Name: wx/x11/joystick.h
// Purpose: wxJoystick class
// Author: Julian Smart
// Modified by:
// Created: 17/09/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_JOYSTICK_H_
/*
* Public interface
*/
-
+
wxJoystick(int joystick = wxJOYSTICK1) { m_joystick = joystick; };
-
+
// Attributes
////////////////////////////////////////////////////////////////////////////
-
+
wxPoint GetPosition() const;
int GetZPosition() const;
int GetButtonState() const;
int GetVPosition() const;
int GetMovementThreshold() const;
void SetMovementThreshold(int threshold) ;
-
+
// Capabilities
////////////////////////////////////////////////////////////////////////////
-
+
bool IsOk() const; // Checks that the joystick is functioning
static int GetNumberJoysticks() ;
int GetManufacturerId() const ;
int GetUMax() const;
int GetVMin() const;
int GetVMax() const;
-
+
bool HasRudder() const;
bool HasZ() const;
bool HasU() 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_
+ // _WX_JOYSTICK_H_
/////////////////////////////////////////////////////////////////////////////
-// Name: minifram.h
+// Name: wx/x11/minifram.h
// Purpose: wxMiniFrame class. A small frame for e.g. floating toolbars.
// If there is no equivalent on your platform, just make it a
// normal frame.
// Created: 17/09/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_MINIFRAM_H_
#include "wx/frame.h"
class WXDLLEXPORT wxMiniFrame: public wxFrame {
-
+
DECLARE_DYNAMIC_CLASS(wxMiniFrame)
-
+
public:
inline wxMiniFrame() {}
inline wxMiniFrame(wxWindow *parent,
// Use wxFrame constructor in absence of more specific code.
Create(parent, id, title, pos, size, style, name);
}
-
+
virtual ~wxMiniFrame() {}
protected:
};
#endif
-// _WX_MINIFRAM_H_
+ // _WX_MINIFRAM_H_
/////////////////////////////////////////////////////////////////////////////
-// Name: print.h
+// Name: wx/x11/print.h
// Purpose: wxPrinter, wxPrintPreview classes
// Author: Julian Smart
// Modified by:
// Created: 17/09/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_PRINT_H_
class WXDLLEXPORT wxPrinter: public wxPrinterBase
{
DECLARE_DYNAMIC_CLASS(wxPrinter)
-
+
public:
wxPrinter(wxPrintData *data = NULL);
virtual ~wxPrinter();
-
+
virtual bool Print(wxWindow *parent, wxPrintout *printout, bool prompt = TRUE);
virtual bool PrintDialog(wxWindow *parent);
virtual bool Setup(wxWindow *parent);
class WXDLLEXPORT wxPrintPreview: public wxPrintPreviewBase
{
DECLARE_CLASS(wxPrintPreview)
-
+
public:
wxPrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting = NULL, wxPrintData *data = NULL);
virtual ~wxPrintPreview();
-
+
virtual bool Print(bool interactive);
virtual void DetermineScaling();
};
#endif
-// _WX_PRINT_H_
+ // _WX_PRINT_H_