Two optical corrections

#ifdeffed the cursor code in splitter and sash
  Made tex2rtf compile

  I will release this as 2.0.1


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-03-05 12:40:11 +00:00
parent cb813dee48
commit 17867d61dc
5 changed files with 11 additions and 6 deletions

View File

@@ -504,9 +504,10 @@ m_text(NULL), m_notebook(NULL)
wxString choices2[] = wxString choices2[] =
{ {
"First", "Second", "Third", "First", "Second",
"Fourth", "Fifth", //"Sixth", /* "Third",
//"Seventh", "Eighth", "Nineth", "Tenth" "Fourth", "Fifth", "Sixth",
"Seventh", "Eighth", "Nineth", "Tenth" */
}; };
panel = new wxPanel(m_notebook); panel = new wxPanel(m_notebook);

View File

@@ -713,7 +713,7 @@ void wxListHeaderWindow::DoDrawRect( wxDC *dc, int x, int y, int w, int h )
dc->SetPen( *wxBLACK_PEN ); dc->SetPen( *wxBLACK_PEN );
dc->DrawLine( x+w-m_corner+1, y, x+w, y+h ); // right (outer) dc->DrawLine( x+w-m_corner+1, y, x+w, y+h ); // right (outer)
dc->DrawRectangle( x, y+h, w, 1 ); // bottom (outer) dc->DrawRectangle( x, y+h, w+1, 1 ); // bottom (outer)
wxPen pen( wxSystemSettings::GetSystemColour( wxSYS_COLOUR_BTNSHADOW ), 1, wxSOLID ); wxPen pen( wxSystemSettings::GetSystemColour( wxSYS_COLOUR_BTNSHADOW ), 1, wxSOLID );

View File

@@ -113,7 +113,8 @@ void wxSashWindow::OnMouseEvent(wxMouseEvent& event)
// reset the cursor // reset the cursor
#ifdef __WXMOTIF__ #ifdef __WXMOTIF__
SetCursor(* wxSTANDARD_CURSOR); SetCursor(* wxSTANDARD_CURSOR);
#else #endif
#ifdef __WXMSW__
SetCursor(wxCursor()); SetCursor(wxCursor());
#endif #endif

View File

@@ -148,7 +148,8 @@ void wxSplitterWindow::OnMouseEvent(wxMouseEvent& event)
// reset the cursor // reset the cursor
#ifdef __WXMOTIF__ #ifdef __WXMOTIF__
SetCursor(* wxSTANDARD_CURSOR); SetCursor(* wxSTANDARD_CURSOR);
#else #endif
#ifdef __WXMSW__
SetCursor(wxCursor()); SetCursor(wxCursor());
#endif #endif

View File

@@ -1084,6 +1084,7 @@ char *Tex2RTFConnection::OnRequest(const wxString& topic, const wxString& item,
#ifndef NO_GUI #ifndef NO_GUI
#ifndef __WXGTK__
void wxObject::Dump(ostream& str) void wxObject::Dump(ostream& str)
{ {
if (GetClassInfo() && GetClassInfo()->GetClassName()) if (GetClassInfo() && GetClassInfo()->GetClassName())
@@ -1092,3 +1093,4 @@ void wxObject::Dump(ostream& str)
str << "unknown object class"; str << "unknown object class";
} }
#endif #endif
#endif