Skip to content

Commit 21ca25c

Browse files
committed
Update StaticBitmap2.cpp
1 parent 68e81cb commit 21ca25c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CommonControls/StaticBitmap2/StaticBitmap2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace Examples {
1515

1616
private:
1717
wxPanel* panel = new wxPanel(this);
18-
wxStaticBitmap* staticBitmap1 = new wxStaticBitmap(this, wxID_ANY, wxNullBitmap, {20, 20}, {100, 50});
18+
wxStaticBitmap* staticBitmap1 = new wxStaticBitmap(panel, wxID_ANY, wxNullBitmap, {20, 20}, {100, 50});
1919
};
2020

2121
class Application : public wxApp {

0 commit comments

Comments
 (0)