Skip to content

Instantly share code, notes, and snippets.

View discnl's full-sized avatar

Dimitri Schoolwerth discnl

  • BenVista
  • NL | UAE
View GitHub Profile
diff --git a/samples/widgets/native.cpp b/samples/widgets/native.cpp
index e9234fe..c1e4015 100644
--- a/samples/widgets/native.cpp
+++ b/samples/widgets/native.cpp
@@ -189,6 +189,9 @@ public:
// Neither the position nor the size really matter: the former because
// the window will be positioned by the sizers, the latter because its
// "fitting" size will be used as the best size by default.
+ NSPathControl* const v = [[NSPathControl alloc] initWithFrame:NSMakeRect(0, 0, 0, 0)];
+ [v setStringValue: @"/Mama/will/keep/baby/cozy & warm"];