Implemented wxWindowCocoa::Cocoa_drawRect
Implemented drawRect override in wxPoserNSView Declared pure virtual wxCocoaNSView::Cocoa_drawRect Made wxWindowCocoa::Cocoa_FrameChanged protected (unrelated) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
#include "wx/hashmap.h"
|
||||
#include "wx/cocoa/ObjcPose.h"
|
||||
|
||||
typedef struct _NSRect NSRect;
|
||||
|
||||
WX_DECLARE_OBJC_HASHMAP(NSView);
|
||||
class wxCocoaNSView
|
||||
{
|
||||
@@ -27,6 +29,7 @@ protected:
|
||||
static void *sm_cocoaObserver;
|
||||
public:
|
||||
virtual void Cocoa_FrameChanged(void) = 0;
|
||||
virtual bool Cocoa_drawRect(const NSRect &rect) = 0;
|
||||
};
|
||||
|
||||
#endif // _WX_COCOA_NSVIEW_H_
|
||||
|
Reference in New Issue
Block a user