projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove wxRTTI macro for wxComboBox from Motif port.
[wxWidgets.git]
/
include
/
wx
/
gtk
/
dvrenderer.h
diff --git
a/include/wx/gtk/dvrenderer.h
b/include/wx/gtk/dvrenderer.h
index 7f8d3d4782e318721c5002b38cfb0cea32c7c396..1c1bc50d6d00cafe54a1c52899988baf6637d0a0 100644
(file)
--- a/
include/wx/gtk/dvrenderer.h
+++ b/
include/wx/gtk/dvrenderer.h
@@
-48,11
+48,11
@@
public:
//
// it validates the new value and notifies the model about the change by
// calling GtkOnCellChanged() if it was accepted
//
// it validates the new value and notifies the model about the change by
// calling GtkOnCellChanged() if it was accepted
- virtual void GtkOnTextEdited(const
g
char *itempath, const wxString& value);
+ virtual void GtkOnTextEdited(const char *itempath, const wxString& value);
GtkCellRenderer* GetGtkHandle() { return m_renderer; }
void GtkInitHandlers();
GtkCellRenderer* GetGtkHandle() { return m_renderer; }
void GtkInitHandlers();
- void GtkUpdateAlignment()
;
+ void GtkUpdateAlignment()
{ GtkApplyAlignment(m_renderer); }
// should be overridden to return true if the renderer supports properties
// corresponding to wxDataViewItemAttr field, see wxGtkTreeCellDataFunc()
// should be overridden to return true if the renderer supports properties
// corresponding to wxDataViewItemAttr field, see wxGtkTreeCellDataFunc()
@@
-85,6
+85,9
@@
protected:
const wxDataViewItem& item,
unsigned col);
const wxDataViewItem& item,
unsigned col);
+ // Apply our effective alignment (i.e. m_alignment if specified or the
+ // associated column alignment by default) to the given renderer.
+ void GtkApplyAlignment(GtkCellRenderer *renderer);
GtkCellRenderer *m_renderer;
int m_alignment;
GtkCellRenderer *m_renderer;
int m_alignment;