- (void)new wxStaticText(page1, -1,
- "This wizard doesn't help you to do anything at "
- "all.\n"
- "\n"
- "The next pages will present you with more useless "
- "controls.");
+ wxStaticText *text = new wxStaticText(page1, -1,
+ "This wizard doesn't help you to do anything at all.\n"
+ "\n"
+ "The next pages will present you with more useless controls."
+ );
+ wxSize size = text->GetBestSize();