removed OnRegisterBtn event in C4StartupAboutDlg

floating-point
Tobias Zwick 2010-12-27 02:30:18 +01:00
parent e1ca3f1a28
commit 7baa1db40a
2 changed files with 0 additions and 10 deletions

View File

@ -103,15 +103,6 @@ void C4StartupAboutDlg::MouseInput(C4GUI::CMouse &rMouse, int32_t iButton, int32
C4StartupDlg::MouseInput(rMouse, iButton, iX, iY, dwKeyParam);
}
void C4StartupAboutDlg::OnRegisterBtn(C4GUI::Control *btn)
{
// open hardcoded registration URL
// URL needs lowercase language code, two-character code only
StdStrBuf sLangCode; sLangCode.Format("%.2s", Config.General.Language);
sLangCode.ToLowerCase();
OpenURL(FormatString("http://www.clonk.de/register.php?lng=%s&product=cr", sLangCode.getData()).getData());
}
#ifdef WITH_AUTOMATIC_UPDATE
void C4StartupAboutDlg::OnUpdateBtn(C4GUI::Control *btn)
{

View File

@ -47,7 +47,6 @@ protected:
virtual void DrawElement(C4TargetFacet &cgo);
bool KeyBack() { DoBack(); return true; }
void OnBackBtn(C4GUI::Control *btn) { DoBack(); }
void OnRegisterBtn(C4GUI::Control *btn);
#ifdef WITH_AUTOMATIC_UPDATE
void OnUpdateBtn(C4GUI::Control *btn);
#endif