Skip to content

Commit

Permalink
Removing useless creation functions ( we don't create GraphicsPath)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shallowmallow committed Feb 10, 2024
1 parent 5188754 commit c3bbacf
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/wx/widgets/GraphicsPath.hx
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,6 @@ import cpp.RawPointer;
@:structAccess
extern class GraphicsPath extends GraphicsObject {

//////////////////////////////////////////////////////////////////////////////////////////////////////////
// creation functions
//////////////////////////////////////////////////////////////////////////////////////////////////////////

@:native("new GraphicsPath") private static function _new():RawPointer<GraphicsPath>;
public static inline function createInstance():Pointer<GraphicsPath> {
return Pointer.fromRaw(_new());
}

@:native("new GraphicsPath") private static function _newFromGraphicsPath(gp:GraphicsPath):RawPointer<GraphicsPath>;
public static inline function createInstanceFromGraphicsPath(gp:GraphicsPath):Pointer<GraphicsPath> {
return Pointer.fromRaw(_newFromGraphicsPath(gp));
}



//////////////////////////////////////////////////////////////////////////////////////////////////////////
// instance functions
//////////////////////////////////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit c3bbacf

Please sign in to comment.