Remove all trailing spaces
No real changes, just clean up sources by removing trailing spaces from all the non-generated files. This should hopefully avoid future commits mixing significant changes with insignificant whitespace ones.
This commit is contained in:
@@ -82,7 +82,7 @@ public:
|
||||
// TODO change semantics to be in line with cocoa (make autrelease NOT increase the count)
|
||||
void MacAddToAutorelease( void* cfrefobj );
|
||||
void MacReleaseAutoreleasePool();
|
||||
|
||||
|
||||
public:
|
||||
static wxWindow* s_captureWindow ;
|
||||
static long s_lastModifiers ;
|
||||
@@ -95,7 +95,7 @@ protected:
|
||||
// override for support of custom app controllers
|
||||
virtual WX_NSObject OSXCreateAppController();
|
||||
#endif
|
||||
|
||||
|
||||
private:
|
||||
virtual bool DoInitGui();
|
||||
virtual void DoCleanUp();
|
||||
@@ -155,14 +155,14 @@ private:
|
||||
wxArrayString m_openFiles;
|
||||
wxArrayString m_printFiles;
|
||||
wxString m_getURL;
|
||||
|
||||
|
||||
public:
|
||||
bool OSXInitWasCalled() { return m_inited; }
|
||||
void OSXStoreOpenFiles(const wxArrayString &files ) { m_openFiles = files ; }
|
||||
void OSXStorePrintFiles(const wxArrayString &files ) { m_printFiles = files ; }
|
||||
void OSXStoreOpenURL(const wxString &url ) { m_getURL = url ; }
|
||||
#endif
|
||||
|
||||
|
||||
// Hide the application windows the same as the system hide command would do it.
|
||||
void MacHideApp();
|
||||
|
||||
|
@@ -107,7 +107,7 @@ public:
|
||||
|
||||
// Constructor for generalised creation from data
|
||||
wxBitmap(const void* data, wxBitmapType type, int width, int height, int depth = 1);
|
||||
|
||||
|
||||
// creates an bitmap from the native image format
|
||||
wxBitmap(CGImageRef image, double scale = 1.0);
|
||||
wxBitmap(WXImage image);
|
||||
@@ -115,7 +115,7 @@ public:
|
||||
|
||||
// Create a bitmap compatible with the given DC
|
||||
wxBitmap(int width, int height, const wxDC& dc);
|
||||
|
||||
|
||||
// If depth is omitted, will create a bitmap compatible with the display
|
||||
wxBitmap(int width, int height, int depth = -1) { (void)Create(width, height, depth); }
|
||||
wxBitmap(const wxSize& sz, int depth = -1) { (void)Create(sz, depth); }
|
||||
@@ -141,13 +141,13 @@ public:
|
||||
bool Create( CGImageRef image, double scale = 1.0 );
|
||||
bool Create( WXImage image );
|
||||
bool Create( CGContextRef bitmapcontext);
|
||||
|
||||
|
||||
// Create a bitmap compatible with the given DC, inheriting its magnification factor
|
||||
bool Create(int width, int height, const wxDC& dc);
|
||||
|
||||
// Create a bitmap with a scale factor, width and height are multiplied with that factor
|
||||
bool CreateScaled(int logwidth, int logheight, int depth, double logicalScale);
|
||||
|
||||
|
||||
// virtual bool Create( WXHICON icon) ;
|
||||
virtual bool LoadFile(const wxString& name, wxBitmapType type = wxBITMAP_DEFAULT_TYPE);
|
||||
virtual bool SaveFile(const wxString& name, wxBitmapType type, const wxPalette *cmap = NULL) const;
|
||||
|
@@ -22,7 +22,7 @@
|
||||
/*
|
||||
* leave is isFlipped and don't override
|
||||
*/
|
||||
#ifndef wxOSX_USE_NATIVE_FLIPPED
|
||||
#ifndef wxOSX_USE_NATIVE_FLIPPED
|
||||
#define wxOSX_USE_NATIVE_FLIPPED 1
|
||||
#endif
|
||||
|
||||
|
@@ -532,7 +532,7 @@ public:
|
||||
virtual void SetRowHeight(int height);
|
||||
virtual void SetRowHeight(const wxDataViewItem& item, unsigned int height);
|
||||
virtual void OnSize();
|
||||
|
||||
|
||||
virtual void StartEditor( const wxDataViewItem & item, unsigned int column );
|
||||
|
||||
// drag & drop helper methods
|
||||
|
@@ -15,16 +15,16 @@ class WXDLLIMPEXP_BASE wxGUIEventLoop : public wxCFEventLoop
|
||||
public:
|
||||
wxGUIEventLoop();
|
||||
~wxGUIEventLoop();
|
||||
|
||||
|
||||
void BeginModalSession( wxWindow* modalWindow );
|
||||
|
||||
|
||||
void EndModalSession();
|
||||
|
||||
virtual void WakeUp();
|
||||
|
||||
void OSXUseLowLevelWakeup(bool useIt)
|
||||
{ m_osxLowLevelWakeUp = useIt ; }
|
||||
|
||||
|
||||
protected:
|
||||
virtual int DoDispatchTimeout(unsigned long timeout);
|
||||
|
||||
@@ -32,15 +32,15 @@ protected:
|
||||
virtual void OSXDoStop();
|
||||
|
||||
virtual CFRunLoopRef CFGetCurrentRunLoop() const;
|
||||
|
||||
|
||||
void* m_modalSession;
|
||||
|
||||
|
||||
wxWindow* m_modalWindow;
|
||||
|
||||
|
||||
WXWindow m_dummyWindow;
|
||||
|
||||
|
||||
int m_modalNestedLevel;
|
||||
|
||||
|
||||
bool m_osxLowLevelWakeUp;
|
||||
};
|
||||
|
||||
|
@@ -163,7 +163,7 @@ public :
|
||||
#endif
|
||||
|
||||
virtual double GetContentScaleFactor() const;
|
||||
|
||||
|
||||
// cocoa thunk connected calls
|
||||
|
||||
#if wxUSE_DRAG_AND_DROP
|
||||
@@ -281,20 +281,20 @@ public :
|
||||
virtual void SetRepresentedFilename(const wxString& filename) wxOVERRIDE;
|
||||
|
||||
wxNonOwnedWindow* GetWXPeer() { return m_wxPeer; }
|
||||
|
||||
|
||||
CGWindowLevel GetWindowLevel() const wxOVERRIDE { return m_macWindowLevel; }
|
||||
void RestoreWindowLevel() wxOVERRIDE;
|
||||
|
||||
|
||||
static WX_NSResponder GetNextFirstResponder() ;
|
||||
static WX_NSResponder GetFormerFirstResponder() ;
|
||||
protected :
|
||||
CGWindowLevel m_macWindowLevel;
|
||||
WXWindow m_macWindow;
|
||||
void * m_macFullScreenData ;
|
||||
|
||||
|
||||
private:
|
||||
void SetUpForModalParent();
|
||||
|
||||
|
||||
wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxNonOwnedWindowCocoaImpl);
|
||||
};
|
||||
|
||||
@@ -308,7 +308,7 @@ public:
|
||||
#if wxUSE_MARKUP
|
||||
virtual void SetLabelMarkup(const wxString& markup);
|
||||
#endif // wxUSE_MARKUP
|
||||
|
||||
|
||||
void SetPressedBitmap( const wxBitmap& bitmap );
|
||||
void GetLayoutInset(int &left , int &top , int &right, int &bottom) const;
|
||||
void SetAcceleratorFromLabel(const wxString& label);
|
||||
|
@@ -97,7 +97,7 @@ public:
|
||||
virtual ~wxNSTextViewControl();
|
||||
|
||||
virtual void insertText(NSString* text, WXWidget slf, void *_cmd) wxOVERRIDE;
|
||||
|
||||
|
||||
virtual wxString GetStringValue() const wxOVERRIDE ;
|
||||
virtual void SetStringValue( const wxString &str) wxOVERRIDE ;
|
||||
virtual void Copy() wxOVERRIDE ;
|
||||
|
@@ -119,7 +119,7 @@ public:
|
||||
{
|
||||
SetValue(key, wxCFNumberRef(v));
|
||||
}
|
||||
|
||||
|
||||
CFMutableDictionaryRef CreateCopy() const
|
||||
{
|
||||
return CFDictionaryCreateMutableCopy(kCFAllocatorDefault, 0, this->m_ptr);
|
||||
|
@@ -176,7 +176,7 @@ public:
|
||||
*/
|
||||
wxCFRef(refType p) : m_ptr(p)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
/*! @method wxCFRef
|
||||
@abstract Assumes ownership of p and creates a reference to it.
|
||||
@@ -190,7 +190,7 @@ public:
|
||||
This method is templated and takes an otherType *p. This prevents implicit conversion
|
||||
using an operator refType() in a different ref-holding class type.
|
||||
*/
|
||||
|
||||
|
||||
template <class otherType>
|
||||
explicit wxCFRef(otherType *p)
|
||||
: m_ptr(p) // Implicit conversion from otherType* to refType should occur.
|
||||
|
@@ -47,10 +47,10 @@ public:
|
||||
|
||||
// This ctor does take ownership of the color.
|
||||
wxColour( CGColorRef col );
|
||||
|
||||
|
||||
// don't take ownership of the returned value
|
||||
CGColorRef GetCGColor() const;
|
||||
|
||||
|
||||
// do take ownership of the returned value
|
||||
CGColorRef CreateCGColor() const { return wxCFRetain(GetCGColor()); }
|
||||
|
||||
@@ -69,7 +69,7 @@ public:
|
||||
explicit wxColour(WX_NSColor color);
|
||||
WX_NSColor OSXGetNSColor() const;
|
||||
#endif
|
||||
|
||||
|
||||
protected :
|
||||
virtual void
|
||||
InitRGBA(ChannelType r, ChannelType g, ChannelType b, ChannelType a) wxOVERRIDE;
|
||||
@@ -87,19 +87,19 @@ class wxColourRefData : public wxGDIRefData
|
||||
public:
|
||||
wxColourRefData() {}
|
||||
virtual ~wxColourRefData() {}
|
||||
|
||||
|
||||
virtual CGFloat Red() const = 0;
|
||||
virtual CGFloat Green() const = 0;
|
||||
virtual CGFloat Blue() const = 0;
|
||||
virtual CGFloat Alpha() const = 0;
|
||||
|
||||
|
||||
virtual bool IsSolid() const
|
||||
{ return true; }
|
||||
|
||||
virtual CGColorRef GetCGColor() const = 0;
|
||||
|
||||
|
||||
virtual wxColourRefData* Clone() const = 0;
|
||||
|
||||
|
||||
#if wxOSX_USE_COCOA
|
||||
virtual WX_NSColor GetNSColor() const;
|
||||
#endif
|
||||
|
@@ -43,7 +43,7 @@ public:
|
||||
virtual void WakeUp();
|
||||
|
||||
bool ShouldProcessIdleEvents() const { return m_processIdleEvents ; }
|
||||
|
||||
|
||||
#if wxUSE_UIACTIONSIMULATOR
|
||||
// notifies Yield and Dispatch to wait for at least one event before
|
||||
// returning, this is necessary, because the synthesized events need to be
|
||||
|
@@ -168,7 +168,7 @@ public :
|
||||
const wxString& strHelp,
|
||||
wxItemKind kind,
|
||||
wxMenu *pSubMenu );
|
||||
|
||||
|
||||
// handle OS specific menu items if they weren't handled during normal processing
|
||||
virtual bool DoDefault() { return false; }
|
||||
protected :
|
||||
@@ -197,7 +197,7 @@ public :
|
||||
wxMenu* GetWXPeer() { return m_peer ; }
|
||||
|
||||
virtual void PopUp( wxWindow *win, int x, int y ) = 0;
|
||||
|
||||
|
||||
virtual void GetMenuBarDimensions(int &x, int &y, int &width, int &height) const
|
||||
{
|
||||
x = y = width = height = -1;
|
||||
@@ -232,13 +232,13 @@ public :
|
||||
void Init();
|
||||
|
||||
bool IsRootControl() const { return m_isRootControl; }
|
||||
|
||||
|
||||
// is a custom control that has all events handled in wx code, no built-ins
|
||||
bool IsUserPane() const { return m_isUserPane; }
|
||||
|
||||
// we are doing keyboard handling in wx code, other events might be handled natively
|
||||
virtual bool HasUserKeyHandling() const { return m_wantsUserKey; }
|
||||
|
||||
|
||||
// we are doing mouse handling in wx code, other events might be handled natively
|
||||
virtual bool HasUserMouseHandling() const { return m_wantsUserMouse; }
|
||||
|
||||
@@ -280,7 +280,7 @@ public :
|
||||
{
|
||||
return 1.0;
|
||||
}
|
||||
|
||||
|
||||
// the native coordinates may have an 'aura' for shadows etc, if this is the case the layout
|
||||
// inset indicates on which insets the real control is drawn
|
||||
virtual void GetLayoutInset(int &left , int &top , int &right, int &bottom) const
|
||||
@@ -299,7 +299,7 @@ public :
|
||||
|
||||
virtual bool NeedsFrame() const;
|
||||
virtual void SetNeedsFrame( bool needs );
|
||||
|
||||
|
||||
virtual void SetDrawingEnabled(bool enabled);
|
||||
|
||||
virtual bool CanFocus() const = 0;
|
||||
@@ -322,7 +322,7 @@ public :
|
||||
virtual void SetCursor( const wxCursor & cursor ) = 0;
|
||||
virtual void CaptureMouse() = 0;
|
||||
virtual void ReleaseMouse() = 0;
|
||||
|
||||
|
||||
virtual void SetDropTarget( wxDropTarget * WXUNUSED(dropTarget) ) {}
|
||||
|
||||
virtual wxInt32 GetValue() const = 0;
|
||||
@@ -371,7 +371,7 @@ public :
|
||||
// of a known control
|
||||
static wxWidgetImpl*
|
||||
FindBestFromWXWidget(WXWidget control);
|
||||
|
||||
|
||||
static void RemoveAssociations( wxWidgetImpl* impl);
|
||||
static void RemoveAssociation(WXWidget control);
|
||||
|
||||
@@ -955,7 +955,7 @@ public :
|
||||
virtual void ScreenToWindow( int *x, int *y ) = 0;
|
||||
|
||||
virtual void WindowToScreen( int *x, int *y ) = 0;
|
||||
|
||||
|
||||
virtual bool IsActive() = 0;
|
||||
|
||||
wxNonOwnedWindow* GetWXPeer() { return m_wxPeer; }
|
||||
|
@@ -30,7 +30,7 @@ public:
|
||||
// returns true if any of the accepted formats of this dataobj is in the pasteboard
|
||||
bool HasDataInPasteboard( void * pasteboardRef );
|
||||
bool GetFromPasteboard( void * pasteboardRef );
|
||||
|
||||
|
||||
#if wxOSX_USE_COCOA
|
||||
virtual void AddSupportedTypes( void* cfarray);
|
||||
#endif
|
||||
|
@@ -205,7 +205,7 @@ public:
|
||||
|
||||
// finishes editing of custom items; if no custom item is currently edited the method does nothing
|
||||
void FinishCustomItemEditing();
|
||||
|
||||
|
||||
virtual void EditItem(const wxDataViewItem& item, const wxDataViewColumn *column) wxOVERRIDE;
|
||||
|
||||
// returns the n-th pointer to a column;
|
||||
|
@@ -62,7 +62,7 @@ public:
|
||||
static bool OSXHasModalDialogsOpen();
|
||||
void OSXBeginModalDialog();
|
||||
void OSXEndModalDialog();
|
||||
|
||||
|
||||
#if wxOSX_USE_COCOA
|
||||
bool OSXGetWorksWhenModal();
|
||||
void OSXSetWorksWhenModal(bool worksWhenModal);
|
||||
@@ -94,7 +94,7 @@ protected:
|
||||
|
||||
private:
|
||||
void Init();
|
||||
|
||||
|
||||
static wxVector<wxDialog*> s_modalStack;
|
||||
#if wxOSX_USE_COCOA
|
||||
static wxVector<bool> s_modalWorksStack;
|
||||
|
@@ -23,7 +23,7 @@ class WXDLLIMPEXP_CORE wxModalEventLoop : public wxGUIEventLoop
|
||||
public:
|
||||
wxModalEventLoop(wxWindow *modalWindow);
|
||||
wxModalEventLoop(WXWindow modalNativeWindow);
|
||||
|
||||
|
||||
#ifdef __WXOSX_COCOA__
|
||||
// skip wxGUIEventLoop to avoid missing Enter/Exit notifications
|
||||
virtual int Run() { return wxCFEventLoop::Run(); }
|
||||
|
@@ -17,7 +17,7 @@ class WXDLLIMPEXP_FWD_CORE wxChoice;
|
||||
// wxFileDialog
|
||||
//-------------------------------------------------------------------------
|
||||
|
||||
// set this system option to 1 in order to always show the filetypes popup in
|
||||
// set this system option to 1 in order to always show the filetypes popup in
|
||||
// file open dialogs if possible
|
||||
|
||||
#define wxOSX_FILEDIALOG_ALWAYS_SHOW_TYPES wxT("osx.openfiledialog.always-show-types")
|
||||
@@ -59,7 +59,7 @@ public:
|
||||
#if wxOSX_USE_COCOA
|
||||
~wxFileDialog();
|
||||
#endif
|
||||
|
||||
|
||||
virtual void GetPaths(wxArrayString& paths) const { paths = m_paths; }
|
||||
virtual void GetFilenames(wxArrayString& files) const { files = m_fileNames ; }
|
||||
|
||||
@@ -71,9 +71,9 @@ public:
|
||||
#endif
|
||||
|
||||
virtual bool SupportsExtraControl() const;
|
||||
|
||||
|
||||
// implementation only
|
||||
|
||||
|
||||
#if wxOSX_USE_COCOA
|
||||
// returns true if the file can be shown as active
|
||||
bool CheckFile( const wxString& filename );
|
||||
@@ -86,7 +86,7 @@ protected:
|
||||
int WXUNUSED(sizeFlags) = wxSIZE_AUTO) {}
|
||||
|
||||
void SetupExtraControls(WXWindow nativeWindow);
|
||||
|
||||
|
||||
#if wxOSX_USE_COCOA
|
||||
virtual wxWindow* CreateFilterPanel(wxWindow *extracontrol);
|
||||
void DoOnFilterSelected(int index);
|
||||
|
@@ -63,7 +63,7 @@ public :
|
||||
virtual void GetSize( int &width, int &height ) const;
|
||||
virtual void SetControlSize( wxWindowVariant variant );
|
||||
virtual double GetContentScaleFactor() const ;
|
||||
|
||||
|
||||
virtual void SetNeedsDisplay( const wxRect* where = NULL );
|
||||
virtual bool GetNeedsDisplay() const;
|
||||
|
||||
@@ -176,7 +176,7 @@ public :
|
||||
virtual bool IsFullScreen() const;
|
||||
|
||||
virtual bool EnableFullScreenView(bool enable);
|
||||
|
||||
|
||||
virtual bool ShowFullScreen(bool show, long style);
|
||||
|
||||
virtual void RequestUserAttention(int flags);
|
||||
|
@@ -34,10 +34,10 @@ public :
|
||||
virtual void WriteText(const wxString& str) ;
|
||||
virtual bool HasOwnContextMenu() const { return true; }
|
||||
|
||||
virtual wxSize GetBestSize() const;
|
||||
|
||||
virtual wxSize GetBestSize() const;
|
||||
|
||||
virtual bool SetHint(const wxString& hint);
|
||||
|
||||
|
||||
virtual void controlAction(WXWidget slf, void* _cmd, void *sender);
|
||||
protected :
|
||||
UITextField* m_textField;
|
||||
|
@@ -170,7 +170,7 @@ public:
|
||||
|
||||
|
||||
static WXHMENU MacGetWindowMenuHMenu() { return s_macWindowMenuHandle ; }
|
||||
|
||||
|
||||
virtual void DoGetPosition(int *x, int *y) const;
|
||||
virtual void DoGetSize(int *width, int *height) const;
|
||||
virtual void DoGetClientSize(int *width, int *height) const;
|
||||
|
@@ -24,7 +24,7 @@ public:
|
||||
#if wxOSX_USE_COCOA
|
||||
~wxMessageDialog();
|
||||
#endif
|
||||
|
||||
|
||||
virtual int ShowModal();
|
||||
|
||||
#if wxOSX_USE_COCOA
|
||||
|
@@ -64,7 +64,7 @@ public:
|
||||
virtual void UnsubclassWin();
|
||||
|
||||
virtual wxPoint GetClientAreaOrigin() const;
|
||||
|
||||
|
||||
// implement base class pure virtuals
|
||||
|
||||
virtual bool SetTransparent(wxByte alpha);
|
||||
@@ -151,7 +151,7 @@ protected:
|
||||
|
||||
private :
|
||||
static clock_t s_lastFlush;
|
||||
|
||||
|
||||
wxRegion m_shape;
|
||||
#if wxUSE_GRAPHICS_CONTEXT
|
||||
wxGraphicsPath m_shapePath;
|
||||
|
@@ -27,7 +27,7 @@ public:
|
||||
bool Create(wxWindow *parent, int flags = wxBORDER_NONE);
|
||||
|
||||
virtual bool Show(bool show = true);
|
||||
|
||||
|
||||
wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxPopupWindow);
|
||||
};
|
||||
|
||||
|
@@ -95,9 +95,9 @@ public:
|
||||
protected:
|
||||
// common part of all ctors
|
||||
void Init();
|
||||
|
||||
|
||||
void DoLayout();
|
||||
|
||||
|
||||
void DoSetSize(int x, int y, int width, int height, int sizeFlags) wxOVERRIDE;
|
||||
|
||||
#ifndef __WXOSX_IPHONE__
|
||||
|
@@ -82,7 +82,7 @@ public:
|
||||
|
||||
virtual void SetLabel(const wxString& label) wxOVERRIDE { SetTitle( label ); }
|
||||
virtual wxString GetLabel() const wxOVERRIDE { return GetTitle(); }
|
||||
|
||||
|
||||
virtual void OSXSetModified(bool modified) wxOVERRIDE;
|
||||
virtual bool OSXIsModified() const wxOVERRIDE;
|
||||
|
||||
|
@@ -14,7 +14,7 @@
|
||||
|
||||
#include "wx/defs.h"
|
||||
|
||||
#if wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && defined(__WXOSX__)
|
||||
#if wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && defined(__WXOSX__)
|
||||
|
||||
#include "wx/control.h"
|
||||
#include "wx/webview.h"
|
||||
@@ -86,10 +86,10 @@ public:
|
||||
|
||||
//Find function
|
||||
virtual long Find(const wxString& text, int flags = wxWEBVIEW_FIND_DEFAULT) wxOVERRIDE
|
||||
{
|
||||
{
|
||||
wxUnusedVar(text);
|
||||
wxUnusedVar(flags);
|
||||
return wxNOT_FOUND;
|
||||
return wxNOT_FOUND;
|
||||
}
|
||||
|
||||
//Clipboard functions
|
||||
|
@@ -52,7 +52,7 @@ public:
|
||||
const wxString& name = wxPanelNameStr );
|
||||
|
||||
virtual void SendSizeEvent(int flags = 0) wxOVERRIDE;
|
||||
|
||||
|
||||
// implement base class pure virtuals
|
||||
virtual void SetLabel( const wxString& label ) wxOVERRIDE;
|
||||
virtual wxString GetLabel() const wxOVERRIDE;
|
||||
@@ -92,10 +92,10 @@ public:
|
||||
|
||||
virtual bool SetBackgroundStyle(wxBackgroundStyle style) wxOVERRIDE;
|
||||
virtual bool IsTransparentBackgroundSupported(wxString* reason = NULL) const wxOVERRIDE;
|
||||
|
||||
|
||||
virtual int GetCharHeight() const wxOVERRIDE;
|
||||
virtual int GetCharWidth() const wxOVERRIDE;
|
||||
|
||||
|
||||
public:
|
||||
virtual void SetScrollbar( int orient, int pos, int thumbVisible,
|
||||
int range, bool refresh = true ) wxOVERRIDE;
|
||||
@@ -117,11 +117,11 @@ public:
|
||||
#if wxUSE_HOTKEY && wxOSX_USE_COCOA_OR_CARBON
|
||||
// hot keys (system wide accelerators)
|
||||
// -----------------------------------
|
||||
|
||||
|
||||
virtual bool RegisterHotKey(int hotkeyId, int modifiers, int keycode) wxOVERRIDE;
|
||||
virtual bool UnregisterHotKey(int hotkeyId) wxOVERRIDE;
|
||||
#endif // wxUSE_HOTKEY
|
||||
|
||||
|
||||
#if wxUSE_DRAG_AND_DROP
|
||||
virtual void SetDropTarget( wxDropTarget *dropTarget ) wxOVERRIDE;
|
||||
|
||||
@@ -255,7 +255,7 @@ public:
|
||||
|
||||
// the 'true' OS level control for this wxWindow
|
||||
wxOSXWidgetImpl* GetPeer() const;
|
||||
|
||||
|
||||
// optimization to avoid creating a user pane in wxWindow::Create if we already know
|
||||
// we will replace it with our own peer
|
||||
void DontCreatePeer();
|
||||
@@ -263,10 +263,10 @@ public:
|
||||
// return true unless DontCreatePeer() had been called
|
||||
bool ShouldCreatePeer() const;
|
||||
|
||||
// sets the native implementation wrapper, can replace an existing peer, use peer = NULL to
|
||||
// sets the native implementation wrapper, can replace an existing peer, use peer = NULL to
|
||||
// release existing peer
|
||||
void SetPeer(wxOSXWidgetImpl* peer);
|
||||
|
||||
|
||||
// wraps the already existing peer with the wrapper
|
||||
void SetWrappingPeer(wxOSXWidgetImpl* wrapper);
|
||||
|
||||
@@ -289,9 +289,9 @@ public:
|
||||
virtual void OSXSimulateFocusEvents();
|
||||
|
||||
bool IsNativeWindowWrapper() const { return m_isNativeWindowWrapper; }
|
||||
|
||||
|
||||
double GetContentScaleFactor() const wxOVERRIDE;
|
||||
|
||||
|
||||
// internal response to size events
|
||||
virtual void MacOnInternalSize() {}
|
||||
|
||||
|
Reference in New Issue
Block a user