Handle Cancel button in userdlg

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Bart A.M. Jourquin
2000-01-31 14:22:30 +00:00
parent 5d33ed2c6b
commit ed6e827e23
4 changed files with 21 additions and 17 deletions

View File

@@ -398,7 +398,7 @@ void wxTabbedWindow::DrawDecorations( wxDC& dc )
long x,w,h;
// set select default font of the window into it's device context
dc.SetFont( GetLabelingFont() );
//dc.SetFont( GetLabelingFont() );
dc.SetTextBackground( GetBackgroundColour() );
@@ -525,7 +525,7 @@ void wxTabbedWindow::RecalcLayout(bool andRepaint)
long w,h;
// set select default font of the window into it's device context
dc.SetFont( GetLabelingFont() );
//dc.SetFont( GetLabelingFont() );
dc.GetTextExtent(tab.mText, &w, &h );
@@ -769,7 +769,7 @@ void wxPaggedWindow::DrawPaperBar( twTabInfo& tab, int x, int y,
long w,h;
// set select default font of the window into it's device context
dc.SetFont( GetLabelingFont() );
//dc.SetFont( GetLabelingFont() );
dc.SetTextBackground( brush.GetColour() );
@@ -999,7 +999,7 @@ void wxPaggedWindow::RecalcLayout(bool andRepaint)
long w,h;
// set select default font of the window into it's device context
dc.SetFont( GetLabelingFont() );
//dc.SetFont( GetLabelingFont() );
dc.GetTextExtent(tab.mText, &w, &h );
tab.mDims.x = w + tab.ImageToTxtGap(mImageTextGap) +