added missing virtual function from wxSliderMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10679
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// text entry dialog and wxGetTextFromUser function
#define wxUSE_TEXTDLG 1
// text entry dialog and wxGetTextFromUser function
#define wxUSE_TEXTDLG 1
+// number entry dialog
+#define wxUSE_NUMBERDLG 1
+
// ----------------------------------------------------------------------------
// Metafiles support
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// Metafiles support
// ----------------------------------------------------------------------------
void SetLineSize(int lineSize);
int GetLineSize() const;
void SetLineSize(int lineSize);
int GetLineSize() const;
+ // these methods get/set the length of the slider pointer in pixels
+ virtual void SetThumbLength(int lenPixels);
+ virtual int GetThumbLength() const ;
+
// IMPLEMENTATION
WXHWND GetStaticMin() const { return m_staticMin; }
WXHWND GetStaticMax() const { return m_staticMax; }
// IMPLEMENTATION
WXHWND GetStaticMin() const { return m_staticMin; }
WXHWND GetStaticMax() const { return m_staticMax; }
#define __DOCSAMPLEH__
#include "wx/docview.h"
#define __DOCSAMPLEH__
#include "wx/docview.h"
// Plots a line from one point to the other
class DoodleLine: public wxObject
// Plots a line from one point to the other
class DoodleLine: public wxObject
else if(id == m_IdSearch)
{
wxString str = m_combo->GetValue();
else if(id == m_IdSearch)
{
wxString str = m_combo->GetValue();
- if(m_combo->FindString(str) == -1 && m_combo->Number() < MAX_COMBO_ENTRIES)
+ if(m_combo->FindString(str) == -1 && m_combo->GetCount() < MAX_COMBO_ENTRIES)
m_combo->Append(str);
m_controller->KeywordSearch(str);
}
m_combo->Append(str);
m_controller->KeywordSearch(str);
}
+ if (menubar->IsAttached())
+ menubar->Detach();
m_hMenu = menubar->Create();
m_hMenu = menubar->Create();
if ( !wxMenuBarBase::Append(menu, title) )
return FALSE;
if ( !wxMenuBarBase::Append(menu, title) )
return FALSE;
+ // Already done in Append above
+ //menu->Attach(this);
+// Not yet implemented
+void wxSliderMSW::SetThumbLength(int WXUNUSED(lenPixels))
+{
+}
+
+// Not yet implemented
+int wxSliderMSW::GetThumbLength() const
+{
+ return 0;
+}
+
bool wxSliderMSW::ContainsHWND(WXHWND hWnd) const
{
return ( hWnd == GetStaticMin() || hWnd == GetStaticMax() || hWnd == GetEditValue() );
bool wxSliderMSW::ContainsHWND(WXHWND hWnd) const
{
return ( hWnd == GetStaticMin() || hWnd == GetStaticMax() || hWnd == GetEditValue() );
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=.\common\radiocmn.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\common\resource.cpp
# End Source File
# Begin Source File
SOURCE=.\common\resource.cpp
# End Source File
# Begin Source File
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=.\common\radiocmn.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\common\resourc2.cpp
# End Source File
# Begin Source File
SOURCE=.\common\resourc2.cpp
# End Source File
# Begin Source File