1. many, many, many warnings fixed (from HP-UX build log; 50% are still left)

2. attempt (failed) at compiling wxGTK with GTK+ 1.3.0


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-12-30 17:51:26 +00:00
parent ce6d2511f8
commit 13111b2ac8
36 changed files with 703 additions and 630 deletions

View File

@@ -147,15 +147,15 @@ void wxCalendarCtrl::Init()
}
}
bool wxCalendarCtrl::Create(wxWindow *parent,
wxWindowID id,
bool wxCalendarCtrl::Create(wxWindow * WXUNUSED(parent),
wxWindowID WXUNUSED(id),
const wxDateTime& date,
const wxPoint& pos,
const wxPoint& WXUNUSED(pos),
const wxSize& size,
long style,
const wxString& name)
const wxString& WXUNUSED(name))
{
SetWindowStyle(style | (wxBORDER | wxWANTS_CHARS));
SetWindowStyle(style | (wxRAISED_BORDER | wxWANTS_CHARS));
m_date = date.IsValid() ? date : wxDateTime::Today();
@@ -422,7 +422,7 @@ void wxCalendarCtrl::RecalcGeometry()
// drawing
// ----------------------------------------------------------------------------
void wxCalendarCtrl::OnPaint(wxPaintEvent& event)
void wxCalendarCtrl::OnPaint(wxPaintEvent& WXUNUSED(event))
{
wxPaintDC dc(this);
@@ -614,7 +614,7 @@ void wxCalendarCtrl::OnYearChange(wxSpinEvent& event)
{
wxDateTime::Tm tm = m_date.GetTm();
int year = event.GetInt();
int year = (int)event.GetInt();
if ( tm.mday > wxDateTime::GetNumberOfDays(tm.mon, year) )
{
tm.mday = wxDateTime::GetNumberOfDays(tm.mon, year);