1. fixed warning which was hiding a bug in wxGrid::SendEvent()
2. started documenting wxDateTime 3. and wxLongLong git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -110,8 +110,14 @@ bool wxScrolledWindow::Create(wxWindow *parent,
|
||||
|
||||
m_targetWindow = this;
|
||||
|
||||
// we need wxWANTS_CHARS to process arrows ourselves
|
||||
return wxPanel::Create(parent, id, pos, size, style | wxWANTS_CHARS, name);
|
||||
bool ok = wxPanel::Create(parent, id, pos, size, style, name);
|
||||
|
||||
#ifdef __WXMSW__
|
||||
// we need to process arrows ourselves for scrolling
|
||||
m_lDlgCode |= DLGC_WANTARROWS;
|
||||
#endif // __WXMSW__
|
||||
|
||||
return ok;
|
||||
}
|
||||
|
||||
wxScrolledWindow::~wxScrolledWindow()
|
||||
@@ -640,12 +646,12 @@ void wxScrolledWindow::OnChar(wxKeyEvent& event)
|
||||
if( m_xScrollPixelsPerLine )
|
||||
{
|
||||
clix /= m_xScrollPixelsPerLine;
|
||||
szx /= m_xScrollPixelsPerLine;
|
||||
szx /= m_xScrollPixelsPerLine;
|
||||
}
|
||||
else
|
||||
{
|
||||
clix = 0;
|
||||
szx = -1;
|
||||
szx = -1;
|
||||
}
|
||||
if( m_yScrollPixelsPerLine )
|
||||
{
|
||||
@@ -655,7 +661,7 @@ void wxScrolledWindow::OnChar(wxKeyEvent& event)
|
||||
else
|
||||
{
|
||||
cliy = 0;
|
||||
szy = -1;
|
||||
szy = -1;
|
||||
}
|
||||
|
||||
int dsty;
|
||||
|
Reference in New Issue
Block a user