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:
@@ -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; }
|
||||
|
Reference in New Issue
Block a user