delete frmt;
}
- data << (fmt_data.GetSize() + m_sndformat->GetBytesFromTime(time));
+ data << (wxUint32)(fmt_data.GetSize() + m_sndformat->GetBytesFromTime(time));
// We, finally, copy the header block to the output stream
{
#endif
#ifdef TEST_STACKWALKER
+#if wxUSE_STACKWALKER
TestStackWalk(argv[0]);
+#endif
#endif // TEST_STACKWALKER
#ifdef TEST_STDPATHS
#include "wx/utils.h"
#include "wx/msgdlg.h"
+ #include "wx/icon.h"
#endif
// ----------------------------------------------------------------------------
{
}
+ // draw a combobox dropdown button
+ //
+ // flags may only use wxCONTROL_PRESSED
+ virtual void DrawComboBoxDropButton(wxWindow *win,
+ wxDC& dc,
+ const wxRect& rect,
+ int flags = 0)
+ {
+ }
+
// get the splitter parameters: the x field of the returned point is the
// sash width and the y field is the border width
virtual wxSplitterRenderParams GetSplitterParams(const wxWindow *win)
// draw the characters
// 1. for each update region
for (wxRegionIterator upd(GetUpdateRegion()); upd; ++upd) {
- wxSize clientSize = GetClientSize();
wxRect updRect = upd.GetRect();
wxRect updRectInGChars(DeviceCoordsToGraphicalChars(updRect));
// 2. for each row of chars in the update region
void MyFrame::OnToolRightClick(wxCommandEvent& event)
{
m_textWindow->AppendText(
- wxString::Format(_T("Tool %d right clicked.\n"), event.GetInt()));
+ wxString::Format(_T("Tool %d right clicked.\n"),
+ (int) event.GetInt()));
}
void MyFrame::OnCombo(wxCommandEvent& event)
#include "wx/effects.h"
#include "wx/spinctrl.h"
#include "wx/tooltip.h"
+#include "wx/settings.h"
#endif
#include "wx/scrolwin.h"
#include "wx/spinctrl.h"
#include "wx/spinbutt.h"
+#include "wx/sizer.h"
+#include "wx/statbox.h"
+#include "wx/dirdlg.h"
#endif
#include "wx/process.h"
#include "wx/variant.h"
#include "wx/cmdline.h"
+#include "wx/msgdlg.h"
+#include "wx/log.h"
#endif
#include "wx/docview.h"
#include "wx/help.h"
+#include "wx/app.h"
#ifdef __WXMSW__
#include "wx/msw/helpchm.h"