~ubuntu-branches/ubuntu/wily/wxwidgets3.0/wily-proposed

« back to all changes in this revision

Viewing changes to src/common/glcmn.cpp

  • Committer: Package Import Robot
  • Author(s): Olly Betts
  • Date: 2014-06-18 12:42:22 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20140618124222-y7t2vpsije1cesxy
Tags: 3.0.1-1
* New upstream release
  + Incorporates most of the patches we were carrying - only one left is:
    wx-config-conditionalise-webview-in-std.patch
* Drop versioning of dependencies from run-time libraries to wx-common -
  this will make the transition to the next wx version harder, and also
  makes backporting to wheezy more work.
* Mark -dbg packages as "Multi-Arch: same".
* Correct short descriptions of the webview packages to not just be
  copies of the corresponding media package's short description.
* Wrap 81 character line in package description.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
    // although on MSW it works even if the window is still hidden, it doesn't
57
57
    // work in other ports (notably X11-based ones) and documentation mentions
58
58
    // that SetCurrent() can only be called for a shown window, so check for it
59
 
    wxASSERT_MSG( IsShownOnScreen(), wxT("can't make hidden GL canvas current") );
 
59
    wxASSERT_MSG( IsShown(), wxT("can't make hidden GL canvas current") );
60
60
 
61
61
 
62
62
    return context.SetCurrent(*static_cast<const wxGLCanvas *>(this));