Go to the documentation of this file.Go to the SVN repository for this file.
1 #ifndef GUI_WX_DEMO___APP_STATUS_BAR__HPP
2 #define GUI_WX_DEMO___APP_STATUS_BAR__HPP
39 #include <wx/statusbr.h>
58 long style = wxST_SIZEGRIP,
59 const wxString& name =
wxT(
"statusBar"));
62 virtual void SetStatusWidths(
int number,
const int* widths);
63 virtual void SetFieldsCount(
int number = 1,
const int* widths =
NULL);
64 virtual void SetFieldWindow(
int index, wxWindow* window);
66 virtual void InsertFieldWindow(
int index, wxWindow* window,
int width = 50);
67 virtual int AddFieldWindow(wxWindow* window);
68 virtual void RemoveFieldWindow(
int index);
71 virtual bool Layout();
73 void OnSize(wxSizeEvent& event);
75 static wxColour GetBackColor(
bool hot);
76 static wxColour GetTextColor(
bool hot);
CStatusBar CStatusBar provides basic support for adding windows to status bar slots when status bar i...
vector< wxWindow * > TIndexToWindow
TIndexToWindow m_FieldWindows
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIWIDGETS_WX_EXPORT
Defines to provide correct exporting from DLLs in Windows.
The NCBI C++/STL use hints.