mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
GridCtrl: Insert/AddColumn = NULL changed to zero string to avoid crashing
git-svn-id: svn://ultimatepp.org/upp/trunk@6670 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
f10ea8e261
commit
804889b1fc
1 changed files with 3 additions and 3 deletions
|
|
@ -1233,10 +1233,10 @@ class GridCtrl : public Ctrl
|
|||
|
||||
/* Methods */
|
||||
|
||||
ItemRect& InsertColumn(int pos, const char *name = NULL, int size = -1, bool idx = false);
|
||||
ItemRect& AddColumn(const Id id, const char *name = NULL, int size = -1, bool idx = false);
|
||||
ItemRect& InsertColumn(int pos, const char *name = "", int size = -1, bool idx = false);
|
||||
ItemRect& AddColumn(const Id id, const char *name = "", int size = -1, bool idx = false);
|
||||
ItemRect& AddColumn(const String& name, int size = -1, bool idx = false);
|
||||
ItemRect& AddColumn(const char *name = NULL, int size = -1, bool idx = false);
|
||||
ItemRect& AddColumn(const char *name = "", int size = -1, bool idx = false);
|
||||
|
||||
void RemoveColumn(int n, int count = 1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue