Fixes to wxMotif scrolling and colours (wxTreeCtrl/wxListCtrl now seem to work

well, ta-ra!); fixes to thread.cpp since constants were changed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-12-28 21:32:10 +00:00
parent cffee23b4f
commit 88150e6073
14 changed files with 239 additions and 180 deletions

View File

@@ -275,6 +275,10 @@ public:
virtual void SetScrollbar(int orient, int pos, int thumbVisible,
int range, bool refresh = TRUE);
// Helper functions for Motif
void CreateScrollbar(int orientation);
void DestroyScrollbar(int orientation);
virtual void SetScrollPos(int orient, int pos, bool refresh = TRUE);
virtual int GetScrollPos(int orient) const;
virtual int GetScrollRange(int orient) const;
@@ -686,5 +690,19 @@ wxWindow* WXDLLEXPORT wxGetActiveWindow();
WXDLLEXPORT_DATA(extern wxList) wxTopLevelWindows;
// A little class to switch off size optimization while an instance of the object
// exists
class WXDLLEXPORT wxNoOptimize: public wxObject
{
public:
wxNoOptimize();
~wxNoOptimize();
static bool CanOptimize();
protected:
static int m_count;
};
#endif
// _WX_WINDOW_H_