Further cleaning of the wxPalmOS radiobox code. Sending update event from slider. New styles for wxRadioBox and wxRadioButton for using alternative appearance of the control.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-02-01 09:58:58 +00:00
parent 7712a6a5ff
commit 9a727a3bb8
10 changed files with 50 additions and 65 deletions

View File

@@ -38,8 +38,6 @@
#include "wx/log.h"
#endif
#include "wx/palmos/private.h"
#if wxUSE_TOOLTIPS
#include "wx/tooltip.h"
#endif // wxUSE_TOOLTIPS
@@ -102,19 +100,6 @@ IMPLEMENT_DYNAMIC_CLASS(wxRadioBox, wxControl)
item
*/
#define RADIOBTN_PARENT_IS_RADIOBOX 0
// ---------------------------------------------------------------------------
// private functions
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
// global vars
// ---------------------------------------------------------------------------
// the pointer to standard radio button wnd proc
static WXFARPROC s_wndprocRadioBtn = (WXFARPROC)NULL;
// ===========================================================================
// implementation
// ===========================================================================
@@ -234,14 +219,6 @@ void wxRadioBox::DoSetSize(int x, int y, int width, int height, int sizeFlags)
{
}
void wxRadioBox::GetSize(int *width, int *height) const
{
}
void wxRadioBox::GetPosition(int *x, int *y) const
{
}
void wxRadioBox::SetFocus()
{
}
@@ -267,19 +244,10 @@ void wxRadioBox::Show(int item, bool show)
{
}
bool wxRadioBox::ContainsHWND(WXHWND hWnd) const
{
return false;
}
void wxRadioBox::Command(wxCommandEvent & event)
{
}
void wxRadioBox::SubclassRadioButton(WXHWND hWndBtn)
{
}
void wxRadioBox::SendNotificationEvent()
{
}
@@ -289,17 +257,4 @@ bool wxRadioBox::SetFont(const wxFont& font)
return false;
}
// ----------------------------------------------------------------------------
// our window proc
// ----------------------------------------------------------------------------
WXHBRUSH wxRadioBox::OnCtlColor(WXHDC pDC, WXHWND WXUNUSED(pWnd), WXUINT WXUNUSED(nCtlColor),
WXUINT WXUNUSED(message),
WXWPARAM WXUNUSED(wParam),
WXLPARAM WXUNUSED(lParam)
)
{
return (WXHBRUSH)0;
}
#endif // wxUSE_RADIOBOX