wxStatusBarPalm::wxStatusBarPalm()
{
SetParent(NULL);
- m_hWnd = 0;
- m_windowId = 0;
}
bool wxStatusBarPalm::Create(wxWindow *parent,
SetName(name);
SetParent(parent);
+ SetId( id == wxID_ANY ? NewControlId() : id );
parent->AddChild(this);
- m_windowId = id == wxID_ANY ? NewControlId() : id;
-
SetFieldsCount(1);
- SubclassWin(m_hWnd);
return true;
}
void wxStatusBarPalm::DrawStatusBar()
{
+#if 0
int i=0;
int leftPos=0;
wxArrayInt widthsAbs;
leftPos+=widthsAbs[i]+2;
}
WinDrawLine(0,160-FntCharHeight()-1,159,160-FntCharHeight()-1);
+#endif
}
void wxStatusBarPalm::SetStatusBufferText(const wxString& text, int number)
{
wxListString *st = GetStatusBufferStack(number);
if(st==0)
- return "";
+ return wxEmptyString;
wxListString::compatibility_iterator top = st->GetFirst();
return(*top->GetData());