// text entry dialog and wxGetTextFromUser function
#define wxUSE_TEXTDLG 1
+// number entry dialog
+#define wxUSE_NUMBERDLG 1
+
// ----------------------------------------------------------------------------
// Metafiles support
// ----------------------------------------------------------------------------
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; }
#define __DOCSAMPLEH__
#include "wx/docview.h"
+#include "wx/cmdproc.h"
// Plots a line from one point to the other
class DoodleLine: public wxObject
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);
}
}
else
{
- menubar->Detach();
+ if (menubar->IsAttached())
+ menubar->Detach();
m_hMenu = menubar->Create();
if ( !wxMenuBarBase::Append(menu, title) )
return FALSE;
- menu->Attach(this);
+ // Already done in Append above
+ //menu->Attach(this);
m_titles.Add(title);
return m_lineSize;
}
+// 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() );
# 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
# 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