diff options
| author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-03-12 16:48:21 +0100 | 
|---|---|---|
| committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-03-12 16:48:21 +0100 | 
| commit | 9446e6938a4d44899d57781b52c0da32adc4b648 (patch) | |
| tree | f80bb4aaf65f40c31307d6d7f65309af2bac9081 /plugingui | |
| parent | e94605ae33d0f8ab77e820cb9928643ccc02d9e7 (diff) | |
Implement setCaption on native windows.
Diffstat (limited to 'plugingui')
| -rw-r--r-- | plugingui/nativewindow_win32.cc | 1 | ||||
| -rw-r--r-- | plugingui/nativewindow_x11.cc | 1 | 
2 files changed, 2 insertions, 0 deletions
diff --git a/plugingui/nativewindow_win32.cc b/plugingui/nativewindow_win32.cc index f7044db..8a0b912 100644 --- a/plugingui/nativewindow_win32.cc +++ b/plugingui/nativewindow_win32.cc @@ -134,6 +134,7 @@ void GUI::NativeWindowWin32::redraw()  void GUI::NativeWindowWin32::setCaption(const std::string &caption)  { +  SetWindowText(gctx->m_hwnd, caption.c_str());  }  void GUI::NativeWindowWin32::grabMouse(bool grab) diff --git a/plugingui/nativewindow_x11.cc b/plugingui/nativewindow_x11.cc index c7605ef..79349dd 100644 --- a/plugingui/nativewindow_x11.cc +++ b/plugingui/nativewindow_x11.cc @@ -227,6 +227,7 @@ void GUI::NativeWindowX11::redraw()  void GUI::NativeWindowX11::setCaption(const std::string &caption)  { +  XStoreName(gctx->display, xwindow, caption.c_str());  }  void GUI::NativeWindowX11::grabMouse(bool grab)  | 
