Changeset 61 for Mulberry/trunk
- Timestamp:
- 05/20/07 14:16:28 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
Mulberry/trunk/Linux/Sources/Application/General/CErrorDialog.cp
r21 r61 344 344 JSize txt_lines = mTextCtrl->GetLineCount(); 345 345 unsigned long txt_height = mTextCtrl->GetLineTop(txt_lines) + mTextCtrl->GetLineHeight(txt_lines); 346 if (txt_height + 8UL > mTextCtrl->Get BoundsHeight())346 if (txt_height + 8UL > mTextCtrl->GetFrameHeight()) 347 347 { 348 348 // Just resize main window - child windows will resize/move as appropriate 349 height_resize = txt_height + 8 - mTextCtrl->Get BoundsHeight();349 height_resize = txt_height + 8 - mTextCtrl->GetFrameHeight(); 350 350 } 351 351 }