git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5879
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
};
// the type of dialup event handler function
};
// the type of dialup event handler function
-typedef void (wxObject::*wxDialUpEventFunction)(wxDialUpEvent&);
+typedef void (wxEvtHandler::*wxDialUpEventFunction)(wxDialUpEvent&);
// macros to catch dialup events
#define EVT_DIALUP_CONNECTED(func) { wxEVT_DIALUP_CONNECTED, -1, -1, (wxObjectEventFunction) (wxEventFunction) (wxDialUpEventFunction) & func, NULL},
// macros to catch dialup events
#define EVT_DIALUP_CONNECTED(func) { wxEVT_DIALUP_CONNECTED, -1, -1, (wxObjectEventFunction) (wxEventFunction) (wxDialUpEventFunction) & func, NULL},
nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\nativdlg
nmake -f makefile.vc FINAL=$(FINAL)
nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\nativdlg
nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\dialup
nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\dialup
nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\notebook
nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\oleauto
cd $(WXDIR)\samples\notebook
nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\oleauto
nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\splitter
nmake -f makefile.vc FINAL=$(FINAL)
nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\splitter
nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\tab
nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\tab
nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\taskbar
nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\text
cd $(WXDIR)\samples\taskbar
nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\samples\text
wxMessageBox("Could not set active cell value.");
return;
}
wxMessageBox("Could not set active cell value.");
return;
}
- if (!excelObject.PutProperty("ActiveCell.Font.Bold", (bool) TRUE))
+#ifdef HAVE_BOOL
+ if (!excelObject.PutProperty("ActiveCell.Font.Bold", wxVariant((bool) TRUE)) )
{
wxMessageBox("Could not put Bold property to active cell.");
return;
}
{
wxMessageBox("Could not put Bold property to active cell.");
return;
}
wxYield();
// Get the data
wxYield();
// Get the data
- wxFileOutputStream sout("test.url");
+ wxFileOutputStream sout(wxString("test.url"));
data->Read(sout);
m_text->AppendText(_("Results written to file: test.url\n"));
m_text->AppendText(_("Done.\n"));
data->Read(sout);
m_text->AppendText(_("Results written to file: test.url\n"));
m_text->AppendText(_("Done.\n"));
tmp.Printf( _T("Float: %f\n"), f );
textCtrl.WriteText( tmp );
tmp.Printf( _T("Float: %f\n"), f );
textCtrl.WriteText( tmp );
+ // This doesn't compile (at least with VC++ 4)
+#if 0
std_file_input >> str;
tmp.Printf( _T("String: %s\n"), str.c_str() );
textCtrl.WriteText( tmp );
std_file_input >> str;
tmp.Printf( _T("String: %s\n"), str.c_str() );
textCtrl.WriteText( tmp );
textCtrl.WriteText( "\nReading from wxFileInputStream:\n" );
textCtrl.WriteText( "\nReading from wxFileInputStream:\n" );