Contents Up Previous Next

Converting old files

Dialog Editor can make an attempt at converting dialog resources created with Dialog Editor for wxWindows 1.68. The command is Convert Old Resources... on the File menu.

You need to specify two directories, an input and an output directory. Dialog Editor will do the following conversions:

  1. wxMultiText becomes a wxTextCtrl with wxTE_MULTILINE style.
  2. wxText becomes a wxTextCtrl.
  3. wxMessage becomes either a wxStaticText or wxStaticBitmap.
  4. wxButton becomes a wxBitmapButton if necessary.
  5. wxGroupBox becomes wxStaticBox.
  6. Controls that no longer have labels, such as wxTextCtrl and wxListBox, have a separate wxStaticText control created for them at approximately the correct position. The label's window name becomes ControlName_Label where ControlName is the name of the control that formerly had the label.
  7. Identifiers are allocated.
  8. Font sizes are reduced to counter the decreased font size now created by wxWindows for a given point size.
  9. The dialog height is reduced slightly to compensate for the fact that the dialog caption is no longer included in the size.