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:
Vadim Zeitlin
2000-03-10 01:15:17 +00:00
parent 3adb47a937
commit d7da975624
11 changed files with 712 additions and 28 deletions

View File

@@ -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;