Rev 88 | Rev 140 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 88 | Rev 89 | ||
---|---|---|---|
Line 145... | Line 145... | ||
145 | } |
145 | } |
146 | } |
146 | } |
147 | 147 | ||
148 | // else was it the PayPal button ? |
148 | // else was it the PayPal button ? |
149 | else if (wParam_loword == BUTTON_DONATE) |
149 | else if (wParam_loword == BUTTON_DONATE) |
- | 150 | { |
|
- | 151 | if (wcscmp (languages[language_id].name, L"French") == 0) |
|
150 | ShellExecute ( |
152 | ShellExecute (NULL, L"open", PAYPAL_URL_FR, NULL, NULL, SW_MAXIMIZE); // open PayPal in French in the default browser, maximized |
- | 153 | else |
|
- | 154 | ShellExecute (NULL, L"open", PAYPAL_URL_XX, NULL, NULL, SW_MAXIMIZE); // open PayPal in English (default) the default browser, maximized |
|
- | 155 | } |
|
151 | 156 | ||
152 | // else was it the "no PayPal" hyperlink ? |
157 | // else was it the "no PayPal" hyperlink ? |
153 | else if (wParam_loword == STATICTEXT_REGISTRATION_NOPAYPAL) |
158 | else if (wParam_loword == STATICTEXT_REGISTRATION_NOPAYPAL) |
154 | ShellExecute (NULL, L"open", NOPAYPAL_URL, NULL, NULL, SW_MAXIMIZE); // open the bank account page in the default browser, maximized |
159 | ShellExecute (NULL, L"open", NOPAYPAL_URL, NULL, NULL, SW_MAXIMIZE); // open the bank account page in the default browser, maximized |
155 | 160 |