projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
correction to last commit: Korean and Romanian translations will only be in 2.9.1...
[wxWidgets.git]
/
src
/
palmos
/
scrolbar.cpp
diff --git
a/src/palmos/scrolbar.cpp
b/src/palmos/scrolbar.cpp
index c65ce8e873e4b1b9e5e89e85cf23cd511b01c1a5..2efee6c5dd5e696c483e97f75f68837aefaed5d8 100644
(file)
--- a/
src/palmos/scrolbar.cpp
+++ b/
src/palmos/scrolbar.cpp
@@
-1,18
+1,14
@@
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
-// Name: palmos/scrolbar.cpp
+// Name:
src/
palmos/scrolbar.cpp
// Purpose: wxScrollBar
// Purpose: wxScrollBar
-// Author: William Osborne
+// Author: William Osborne
- minimal working wxPalmOS port
// Modified by:
// Created: 10/13/04
// Modified by:
// Created: 10/13/04
-// RCS-ID: $Id
:
+// RCS-ID: $Id
$
// Copyright: (c) William Osborne
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Copyright: (c) William Osborne
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma implementation "scrolbar.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
@@
-22,13
+18,14
@@
#if wxUSE_SCROLLBAR
#if wxUSE_SCROLLBAR
+#include "wx/scrolbar.h"
+
#ifndef WX_PRECOMP
#include "wx/utils.h"
#ifndef WX_PRECOMP
#include "wx/utils.h"
+ #include "wx/settings.h"
#endif
#endif
-#include "wx/scrolbar.h"
#include "wx/palmos/private.h"
#include "wx/palmos/private.h"
-#include "wx/settings.h"
#if wxUSE_EXTENDED_RTTI
WX_DEFINE_FLAGS( wxScrollBarStyle )
#if wxUSE_EXTENDED_RTTI
WX_DEFINE_FLAGS( wxScrollBarStyle )
@@
-42,7
+39,7
@@
wxBEGIN_FLAGS( wxScrollBarStyle )
wxFLAGS_MEMBER(wxBORDER_RAISED)
wxFLAGS_MEMBER(wxBORDER_STATIC)
wxFLAGS_MEMBER(wxBORDER_NONE)
wxFLAGS_MEMBER(wxBORDER_RAISED)
wxFLAGS_MEMBER(wxBORDER_STATIC)
wxFLAGS_MEMBER(wxBORDER_NONE)
-
+
// old style border flags
wxFLAGS_MEMBER(wxSIMPLE_BORDER)
wxFLAGS_MEMBER(wxSUNKEN_BORDER)
// old style border flags
wxFLAGS_MEMBER(wxSIMPLE_BORDER)
wxFLAGS_MEMBER(wxSUNKEN_BORDER)
@@
-120,12
+117,6
@@
void wxScrollBar::SetScrollbar(int position, int thumbSize, int range, int pageS
}
}
-WXHBRUSH wxScrollBar::OnCtlColor(WXHDC WXUNUSED(pDC), WXHWND WXUNUSED(pWnd), WXUINT WXUNUSED(nCtlColor),
- WXUINT WXUNUSED(message), WXWPARAM WXUNUSED(wParam), WXLPARAM WXUNUSED(lParam))
-{
- return 0;
-}
-
void wxScrollBar::Command(wxCommandEvent& event)
{
}
void wxScrollBar::Command(wxCommandEvent& event)
{
}