SetDlgItemText(hwnd, IDC_SPACE2, "");
PropSheet_SetWizButtons(dialog, 0);
SendMessage(dialog, PSM_CANCELTOCLOSE, 0, 0); //makes wine display a warning
SetDlgItemText(hwnd, IDC_SPACE2, "");
PropSheet_SetWizButtons(dialog, 0);
SendMessage(dialog, PSM_CANCELTOCLOSE, 0, 0); //makes wine display a warning
BOOL CALLBACK PropertySheetFunc4(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) {
if(message == WM_INITDIALOG) {
BOOL CALLBACK PropertySheetFunc4(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) {
if(message == WM_INITDIALOG) {
pdf2swf_path = concatPaths(pdf2swf_dir, "gpdf2swf.exe");
FILE*fi = fopen(pdf2swf_path, "rb");
if(fi) {
pdf2swf_path = concatPaths(pdf2swf_dir, "gpdf2swf.exe");
FILE*fi = fopen(pdf2swf_path, "rb");
if(fi) {