aboutsummaryrefslogtreecommitdiffstats
path: root/rfbplayer/GotoPosDialog.h
diff options
context:
space:
mode:
authorgeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>2005-03-11 14:22:14 +0000
committergeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>2005-03-11 14:22:14 +0000
commitd9957b7526593c195e4434728906022f09a6d6bb (patch)
tree1388af23c253fdb2c0fe3b632a07cf0735052fa6 /rfbplayer/GotoPosDialog.h
parent0e980ccd07c3ea1f2ed3a97751332569e338d461 (diff)
downloadtigervnc-d9957b7526593c195e4434728906022f09a6d6bb.tar.gz
tigervnc-d9957b7526593c195e4434728906022f09a6d6bb.zip
ChoosePixelFormatDialog, OptionsDialog and GotoPosDialog must have
a parent window (player's main window). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@243 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'rfbplayer/GotoPosDialog.h')
-rw-r--r--rfbplayer/GotoPosDialog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/rfbplayer/GotoPosDialog.h b/rfbplayer/GotoPosDialog.h
index 6758be21..ddbbe53a 100644
--- a/rfbplayer/GotoPosDialog.h
+++ b/rfbplayer/GotoPosDialog.h
@@ -25,8 +25,8 @@ public:
GotoPosDialog() : Dialog(GetModuleHandle(0)) {}
// - Show the dialog and return true if OK was clicked,
// false in case of error or Cancel
- virtual bool showDialog() {
- return Dialog::showDialog(MAKEINTRESOURCE(IDD_GOTO));
+ virtual bool showDialog(HWND parent) {
+ return Dialog::showDialog(MAKEINTRESOURCE(IDD_GOTO), parent);
}
const long getPos() const {return pos;}
protected: