Added PushEventHandler, Pop...

Corrected spelling of SetEventhandler
  Fixed two bugs in wxGenericPrintDlg
  Tried in vain to make printing of icons work.
    It now prints black on black, mostly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1998-08-12 21:24:51 +00:00
parent 16ced4a272
commit 86b29a6122
9 changed files with 85 additions and 9 deletions

View File

@@ -56,6 +56,11 @@ float zoom_factor = 1.0;
#include "aiai.xbm"
#endif
#ifdef __WXGTK__
#include "folder.xpm"
#endif
// Writes a header on a page. Margin units are in millimetres.
bool WritePageHeader(wxPrintout *printout, wxDC *dc, char *text, float mmToLogical);
@@ -319,6 +324,9 @@ void MyFrame::Draw(wxDC& dc)
dc.SetPen(wxBLACK_PEN);
dc.DrawLine(0, 0, 200, 200);
dc.DrawLine(200, 0, 0, 200);
wxIcon my_icon( folder_xpm );
dc.DrawIcon( my_icon, 100, 100, TRUE );
}
void MyFrame::OnSize(wxSizeEvent& event )