- wxBeginBusyCursor();
-
- fontRect.x = 5;
-#ifdef __X__
- fontRect.y = 125;
-#else
- fontRect.y = 115;
-#endif
- fontRect.width = 350;
- fontRect.height = 100;
-
-/*
- static char *families[] = { "Roman", "Decorative", "Modern", "Script", "Swiss" };
- static char *styles[] = { "Normal", "Italic", "Slant" };
- static char *weights[] = { "Normal", "Light", "Bold" };
-*/
- static wxString families[] = { "Roman", "Decorative", "Modern", "Script", "Swiss" };
- static wxString styles[] = { "Normal", "Italic", "Slant" };
- static wxString weights[] = { "Normal", "Light", "Bold" };
-
- int x=-1;
- int y=40;
- familyChoice = new wxChoice(this, wxID_FONT_FAMILY, wxPoint(10, 10), wxSize(120, -1), 5, families);
- styleChoice = new wxChoice(this, wxID_FONT_STYLE, wxPoint(160, 10), wxSize(120, -1), 3, styles);
- weightChoice = new wxChoice(this, wxID_FONT_WEIGHT, wxPoint(310, 10), wxSize(120, -1), 3, weights);
-
- colourChoice = new wxChoice(this, wxID_FONT_COLOUR, wxPoint(10, 40), wxSize(190, -1), NUM_COLS, wxColourDialogNames);
-#ifdef __MOTIF__
- // We want the pointSizeText to line up on the y axis with the colourChoice
- colourChoice->GetPosition(&fontRect.x, &y); //NL mod
- y+=3; //NL mod
-#endif
-
- wxString pointSizes[40];
+ wxBusyCursor bcur;
+
+ wxString
+ *families = new wxString[6],
+ *styles = new wxString[3],
+ *weights = new wxString[3];
+ families[0] = _("Roman");
+ families[1] = _("Decorative");
+ families[2] = _("Modern");
+ families[3] = _("Script");
+ families[4] = _("Swiss" );
+ families[5] = _("Teletype" );
+ styles[0] = _("Normal");
+ styles[1] = _("Italic");
+ styles[2] = _("Slant");
+ weights[0] = _("Normal");
+ weights[1] = _("Light");
+ weights[2] = _("Bold");
+
+ familyChoice = new wxChoice(this, wxID_FONT_FAMILY, wxDefaultPosition, wxDefaultSize, 5, families);
+ styleChoice = new wxChoice(this, wxID_FONT_STYLE, wxDefaultPosition, wxDefaultSize, 3, styles);
+ weightChoice = new wxChoice(this, wxID_FONT_WEIGHT, wxDefaultPosition, wxDefaultSize, 3, weights);
+
+ colourChoice = new wxChoice(this, wxID_FONT_COLOUR, wxDefaultPosition, wxDefaultSize, NUM_COLS, wxColourDialogNames);
+
+ wxString *pointSizes = new wxString[40];