projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use wxSizerFlags and updated CreateButtonSizer() in all generic dialogs
[wxWidgets.git]
/
include
/
wx
/
vlbox.h
diff --git
a/include/wx/vlbox.h
b/include/wx/vlbox.h
index f3ce27a421c1641813be50c7469315e3eaa45602..ac1d0286da2cb63d0fa4ae46be1089b67dc28289 100644
(file)
--- a/
include/wx/vlbox.h
+++ b/
include/wx/vlbox.h
@@
-13,6
+13,7
@@
#define _WX_VLBOX_H_
#include "wx/vscroll.h" // base class
#define _WX_VLBOX_H_
#include "wx/vscroll.h" // base class
+#include "wx/bitmap.h"
class WXDLLEXPORT wxSelectionStore;
class WXDLLEXPORT wxSelectionStore;
@@
-189,10
+190,14
@@
public:
void SetSelectionBackground(const wxColour& col);
void SetSelectionBackground(const wxColour& col);
- virtual void ApplyParentThemeBackground(const wxColour& WXUNUSED(bg))
- { /* do nothing */ }
+ virtual wxVisualAttributes GetDefaultAttributes() const
+ {
+ return GetClassDefaultAttributes(GetWindowVariant());
+ }
+
+ static wxVisualAttributes
+ GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
-
protected:
// the derived class must implement this function to actually draw the item
// with the given index on the provided DC
protected:
// the derived class must implement this function to actually draw the item
// with the given index on the provided DC
@@
-282,7
+287,6
@@
private:
// the selection bg colour
wxColour m_colBgSel;
// the selection bg colour
wxColour m_colBgSel;
-
DECLARE_EVENT_TABLE()
DECLARE_NO_COPY_CLASS(wxVListBox)
DECLARE_ABSTRACT_CLASS(wxVListBox)
DECLARE_EVENT_TABLE()
DECLARE_NO_COPY_CLASS(wxVListBox)
DECLARE_ABSTRACT_CLASS(wxVListBox)