CreateItem -> CreateControl
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5239 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
35e1cf7b86
commit
b163ed1dc4
3 changed files with 15 additions and 9 deletions
|
@ -152,7 +152,7 @@ void __declspec(dllexport) Create(HWND hwndParent, int string_size, char *variab
|
|||
pushint((int) g_dialog.hwDialog);
|
||||
}
|
||||
|
||||
void __declspec(dllexport) CreateItem(HWND hwndParent, int string_size, char *variables, stack_t **stacktop, extra_parameters *extra)
|
||||
void __declspec(dllexport) CreateControl(HWND hwndParent, int string_size, char *variables, stack_t **stacktop, extra_parameters *extra)
|
||||
{
|
||||
char *className;
|
||||
char *text;
|
||||
|
@ -250,6 +250,12 @@ void __declspec(dllexport) CreateItem(HWND hwndParent, int string_size, char *va
|
|||
HeapFree(GetProcessHeap(), 0, className);
|
||||
}
|
||||
|
||||
// for backward compatibility (2.29 had CreateItem)
|
||||
void __declspec(dllexport) CreateItem(HWND hwndParent, int string_size, char *variables, stack_t **stacktop, extra_parameters *extra)
|
||||
{
|
||||
CreateControl(hwndParent, string_size, variables, stacktop, extra);
|
||||
}
|
||||
|
||||
void __declspec(dllexport) SetUserData(HWND hwndParent, int string_size, char *variables, stack_t **stacktop, extra_parameters *extra)
|
||||
{
|
||||
HWND hwCtl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue