Cured some Motif bugs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1999-03-01 22:41:38 +00:00
parent 66d781461d
commit b69f1bd186
11 changed files with 177 additions and 82 deletions

View File

@@ -111,7 +111,11 @@ void wxSashWindow::OnMouseEvent(wxMouseEvent& event)
wxSashEdgePosition sashHit = SashHitTest(x, y);
// reset the cursor
#ifdef __WXMOTIF__
SetCursor(* wxSTANDARD_CURSOR);
#else
SetCursor(wxCursor());
#endif
if (event.LeftDown())
{

View File

@@ -146,7 +146,11 @@ void wxSplitterWindow::OnMouseEvent(wxMouseEvent& event)
event.Position(&x, &y);
// reset the cursor
#ifdef __WXMOTIF__
SetCursor(* wxSTANDARD_CURSOR);
#else
SetCursor(wxCursor());
#endif
if (event.LeftDown())
{

View File

@@ -75,6 +75,7 @@ LIB_CPP_SRC=\
motif/brush.cpp \
motif/button.cpp \
motif/checkbox.cpp \
motif/checklst.cpp \
motif/choice.cpp \
motif/clipbrd.cpp \
motif/colour.cpp \

View File

@@ -60,13 +60,13 @@ wxCheckListBox::wxCheckListBox(wxWindow *parent, wxWindowID id,
// check items
// -----------
bool wxCheckListBox::IsChecked(uint uiIndex) const
bool wxCheckListBox::IsChecked(size_t uiIndex) const
{
// TODO
return FALSE;
}
void wxCheckListBox::Check(uint uiIndex, bool bCheck)
void wxCheckListBox::Check(size_t uiIndex, bool bCheck)
{
// TODO
}

View File

@@ -133,7 +133,7 @@ void wxMDIParentFrame::OnSize(wxSizeEvent& event)
void wxMDIParentFrame::GetClientSize(int *width, int *height) const
{
wxWindow::GetClientSize(width, height);
wxFrame::GetClientSize(width, height);
}
void wxMDIParentFrame::OnActivate(wxActivateEvent& event)