less memleak
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@361 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
ba4010eb52
commit
07199650b7
10 changed files with 90 additions and 75 deletions
|
|
@ -30,6 +30,12 @@ MWDECL MwWidget MwMessageBox(MwWidget handle, const char* text, const char* titl
|
|||
*/
|
||||
MWDECL MwWidget MwMessageBoxGetChild(MwWidget handle, int child);
|
||||
|
||||
/*!
|
||||
* %brief Destroys the message box
|
||||
* %param handle Widget
|
||||
*/
|
||||
MWDECL void MwMessageBoxDestroy(MwWidget handle);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ namespace MwOO {
|
|||
class ListBox : public MwOO::Base {
|
||||
public:
|
||||
ListBox(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h);
|
||||
void Insert(int index, const char* text);
|
||||
void InsertMultiple(int index, char** text, int count);
|
||||
void Insert(int index, const char* text, MwLLPixmap pixmap);
|
||||
void InsertMultiple(int index, char** text, MwLLPixmap* pixmap, int count);
|
||||
void Delete(int index);
|
||||
const char* Get(int index);
|
||||
void SetLeftPadding(int value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue