Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void BryRzutFrm::DrawOnPanels()
- {
- wxClientDC CDCPanel1( m_panel4 );
- wxBufferedDC BDCPanel1( &CDCPanel1 );
- wxDC *DCPanel1 = &BDCPanel1;
- DCPanel1->SetBackground( wxBrush(RGB(255, 255, 255) ) );
- DCPanel1->Clear();
- DCPanel1->SetPen(wxPen(RGB(0,0,0)));
- BaseShape.draw( GenDrawOnDC(DCPanel1) );
- /*
- wxClientDC CDCPanel2(m_panel4);
- wxBufferedDC BDCPanel2(&CDCPanel2);
- wxDC *DCPanel2 = &CDCPanel2;
- DCPanel2->SetBackground(wxBrush(RGB(255, 255, 255)));
- DCPanel2->Clear();
- DCPanel2->SetPen(wxPen(RGB(0, 0, 0)));
- wxClientDC CDCPanel3(m_panel4);
- wxBufferedDC BDCPanel3(&CDCPanel3);
- wxDC *DCPanel3 = &CDCPanel3;
- DCPanel3->SetBackground(wxBrush(RGB(255, 255, 255)));
- DCPanel3->Clear();
- DCPanel3->SetPen(wxPen(RGB(0, 0, 0)));
- */
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement