fixed compile error without NSIS_CONFIG_COMPONENTPAGE
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3971 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
1f6952a21a
commit
76d64a2992
2 changed files with 6 additions and 0 deletions
|
@ -91,6 +91,8 @@ void NSISCALL RefreshSectionGroups() {
|
||||||
_RefreshSectionGroups(0, 1);
|
_RefreshSectionGroups(0, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef NSIS_CONFIG_COMPONENTPAGE
|
||||||
|
|
||||||
void NSISCALL SetInstType(int inst_type) {
|
void NSISCALL SetInstType(int inst_type) {
|
||||||
unsigned int i = 0;
|
unsigned int i = 0;
|
||||||
|
|
||||||
|
@ -146,3 +148,5 @@ unsigned int NSISCALL GetInstType(HTREEITEM *items) {
|
||||||
|
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif//NSIS_CONFIG_COMPONENTPAGE
|
||||||
|
|
|
@ -3,7 +3,9 @@
|
||||||
|
|
||||||
void NSISCALL SectionFlagsChanged(unsigned int index);
|
void NSISCALL SectionFlagsChanged(unsigned int index);
|
||||||
void NSISCALL RefreshSectionGroups();
|
void NSISCALL RefreshSectionGroups();
|
||||||
|
#ifdef NSIS_CONFIG_COMPONENTPAGE
|
||||||
void NSISCALL SetInstType(int inst_type);
|
void NSISCALL SetInstType(int inst_type);
|
||||||
unsigned int NSISCALL GetInstType(HTREEITEM *items);
|
unsigned int NSISCALL GetInstType(HTREEITEM *items);
|
||||||
|
#endif//NSIS_CONFIG_COMPONENTPAGE
|
||||||
|
|
||||||
#endif//!___COMPONENTS_H___
|
#endif//!___COMPONENTS_H___
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue