Menu

#162 Setting extra style interferres with base class

v1.0_(example)
closed-fixed
nobody
None
5
2015-08-28
2015-08-20
pfaelzer
No

When an extra style is used, wxFormBuilder creates code like this (C++):
this->SetExtraStyle( wxWS_EX_VALIDATE_RECURSIVELY );
Unfortunately, the wxDialog class sets an internal extra style (at least on the MSW platform). The call above erases that style. The code should be changed to:
this->SetExtraStyle( this->GetExtraStyle() | wxWS_EX_VALIDATE_RECURSIVELY );

Note that wxWS_EX_VALIDATE_RECURSIVELY is just an example. The problem appears with any extra style.

Discussion

  • Michal Bližňák

    • status: open --> open-fixed
     
  • Michal Bližňák

    Fixed in wxFB 3.5.2-RC2.

     
  • Michal Bližňák

    • status: open-fixed --> closed-fixed
     
MongoDB Logo MongoDB