Postpone the creation of the QStatusBar fields until the first call to SetStatusText(). This is to account for any field control added by the user and also to avoid having to call UpdateFields() multiple times. wxSTB_ELLIPSIZE_XXX and wxSTB_SHOW_TIPS supports are also implemented now. The statbar sample is also updated: The OnSize() handler is removed because it doesn't do much. that is: it is defined to keep the bitmap centered in the status bar field it occupies if it is resized. but this is already done by the wxStaticBitmap control, at least under wxMSW, wxGTK3 and wxQt. |
||
|---|---|---|
| .. | ||
| msvc/wx | ||
| wx | ||