mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-06 13:34:44 +02:00
[BUG_FIXED] Fix the inverse of title and message for some MessageBox.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@738 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
f5fa3cc1dd
commit
aa5bfb5d5f
@ -1166,7 +1166,7 @@ bool NativeLangSpeaker::getMsgBoxLang(const char *msgBoxTagName, generic_string
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
int NativeLangSpeaker::messageBox(const char *msgBoxTagName, HWND hWnd, TCHAR *defaultTitle, TCHAR *defaultMessage, int msgBoxType)
|
int NativeLangSpeaker::messageBox(const char *msgBoxTagName, HWND hWnd, TCHAR *defaultMessage, TCHAR *defaultTitle, int msgBoxType)
|
||||||
{
|
{
|
||||||
generic_string msg, title;
|
generic_string msg, title;
|
||||||
if (getMsgBoxLang(msgBoxTagName, title, msg))
|
if (getMsgBoxLang(msgBoxTagName, title, msg))
|
||||||
|
@ -57,7 +57,7 @@ public:
|
|||||||
return _nativeLangEncoding;
|
return _nativeLangEncoding;
|
||||||
};
|
};
|
||||||
bool getMsgBoxLang(const char *msgBoxTagName, generic_string & title, generic_string & message);
|
bool getMsgBoxLang(const char *msgBoxTagName, generic_string & title, generic_string & message);
|
||||||
int messageBox(const char *msgBoxTagName, HWND hWnd, TCHAR *title, TCHAR *message, int msgBoxType);
|
int messageBox(const char *msgBoxTagName, HWND hWnd, TCHAR *message, TCHAR *title, int msgBoxType);
|
||||||
private:
|
private:
|
||||||
TiXmlNodeA *_nativeLangA;
|
TiXmlNodeA *_nativeLangA;
|
||||||
int _nativeLangEncoding;
|
int _nativeLangEncoding;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user