git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31778
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- 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
{
// We, finally, copy the header block to the output stream
{
#endif
#ifdef TEST_STACKWALKER
#endif
#ifdef TEST_STACKWALKER
#endif // TEST_STACKWALKER
#ifdef TEST_STDPATHS
#endif // TEST_STACKWALKER
#ifdef TEST_STDPATHS
#include "wx/utils.h"
#include "wx/msgdlg.h"
#include "wx/utils.h"
#include "wx/msgdlg.h"
#endif
// ----------------------------------------------------------------------------
#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)
// 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) {
// 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
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(
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)
}
void MyFrame::OnCombo(wxCommandEvent& event)
#include "wx/effects.h"
#include "wx/spinctrl.h"
#include "wx/tooltip.h"
#include "wx/effects.h"
#include "wx/spinctrl.h"
#include "wx/tooltip.h"
+#include "wx/settings.h"
#include "wx/scrolwin.h"
#include "wx/spinctrl.h"
#include "wx/spinbutt.h"
#include "wx/scrolwin.h"
#include "wx/spinctrl.h"
#include "wx/spinbutt.h"
+#include "wx/sizer.h"
+#include "wx/statbox.h"
+#include "wx/dirdlg.h"
#include "wx/process.h"
#include "wx/variant.h"
#include "wx/cmdline.h"
#include "wx/process.h"
#include "wx/variant.h"
#include "wx/cmdline.h"
+#include "wx/msgdlg.h"
+#include "wx/log.h"
#include "wx/docview.h"
#include "wx/help.h"
#include "wx/docview.h"
#include "wx/help.h"
#ifdef __WXMSW__
#include "wx/msw/helpchm.h"
#ifdef __WXMSW__
#include "wx/msw/helpchm.h"