[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:
Don Ho 2011-02-20 00:11:03 +00:00
parent f5fa3cc1dd
commit aa5bfb5d5f
2 changed files with 2 additions and 2 deletions

View File

@ -1166,7 +1166,7 @@ bool NativeLangSpeaker::getMsgBoxLang(const char *msgBoxTagName, generic_string
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;
if (getMsgBoxLang(msgBoxTagName, title, msg))

View File

@ -57,7 +57,7 @@ public:
return _nativeLangEncoding;
};
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:
TiXmlNodeA *_nativeLangA;
int _nativeLangEncoding;