Factor out wxGCDCImpl::CommonInit()
No real changes, just a small refactoring that will allow reusing the new CommonInit() method in the next commit.
This commit is contained in:
committed by
Vadim Zeitlin
parent
b192b4f676
commit
0338ad5124
@@ -234,6 +234,12 @@ protected:
|
||||
bool m_isClipBoxValid;
|
||||
|
||||
private:
|
||||
// This method only initializes trivial fields.
|
||||
void CommonInit();
|
||||
|
||||
// This method initializes all fields (including those initialized by
|
||||
// CommonInit() as it calls it) and the given context, if non-null, which
|
||||
// is assumed to be newly created.
|
||||
void Init(wxGraphicsContext*);
|
||||
|
||||
wxDECLARE_CLASS(wxGCDCImpl);
|
||||
|
Reference in New Issue
Block a user